How to stop the server out of the process
Hi all,I'm developing a server program, it is a socket server, and I use multiple threads to process the request. But how do I stop the server out of the process?I even cannot stop it when it stop in accept() method.Hope anyone can help me .Thanks.
Add a close command to the protocol. Connect to the server, send the close command. At the server, the close command closes the ServerSocket. Simple.
ejpa at 2007-7-14 19:08:56 >
