in reply to Socket Connection issue
There are examples of working client and server code based on IO::Socket in perlipc.