Re: Shutting down a server?

Huston <[email protected]> 03 Jun 2003 14:20:42 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
On Tue, 2003-06-03 at 12:13, Paul Andrews wrote:
> I need a way to close the server sockets created by
> TCPSessionCreate.listen(...). There doesn't seem to be any way to do
> this at the moment.
> 
> - Paul

I hadn't looked at that code, it is in need of some refactoring. Would
you mind entering a bug against this on sf?

For now I wouldn't use TCPSessionCreator. Instead, create your own
ServerSocket and call TCPSession.createListener() for each new
connection you accept.

Thanks for finding this.

--Huston



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5