I also found something else(what hplus mentioned) here : http://stackoverflow...nd-over-network (scroll down a bit for the code). Would this be a better solution?
Also i couldn't find to much information about
serialization(found 1 tutorial).
If anybody got some useful links post them : )
Thanks