single client to tcp server
I was wondering if it is possible to set up a tcp socket server which only accepts a single connection. I thought that killing the process created by start-up-server after it accepts its 1st connection would do the trick, but that seems to clean up all the open sockets so the process handling client connection is left with no socket. Under MCL I simply killed the listen socket after connection was made which did nothing to the client socket ... Suggestions? Thanks.