If you have no idea where to start, I strongly suggest you skip the socket programming altogether, and have a look at PYRO. http://pyro.sourceforge.net Pyro provides remotely callable objects without having to program a single line of networking code. Irmen