So I am having some trouble finding a way to have a bunch of tcp sockets connecting to the same server to share data. In Java the common example that is used to demonstrate this is an instant messenger program that allows multiple clients to talk to each other through a main server. So I was wondering if there was a tcp chat example or something similar that allows the person to open say 3 or 4 vi's that are like chat window clients and have them all communicate through a central chat server? Any help is appreciated.