I suppose a good way to do this would be to start a separate program to handle talking over the socket, start it when the first instance of the program runs, accept other connections
and use select to see which ones have info to send, and close this program when all of it's connections are gone...
Of course, you could also just rewrite the server to accept multiple connections... (if the server is yours to rewrite)
- Ant
- Some of my best work - Fish Dinner