Close Ports
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andre_Stoffel
Posted On:   Monday, September 2, 2002 10:51 AM

I'm creating connections, but the ports do not close afterwards. I closed the sockets, but it didn't work. Do you know the solution to this problem?
Thanks
Best Rgds

Re: Close Ports

Posted By:   Thomas_Wheeler  
Posted On:   Monday, September 9, 2002 01:29 PM

I've seen this on Windows boxes, I don't know for certain about Unix. Basically, either the VM or the operating system -- I'm not sure which -- is not closing the port immediately. There's no workaround to my knowledge. I suggest a combined strategy of (1) don't close a connection until you're really really sure you don't need it anymore; and (2) provide the ability to connect on alternative ports.


-Thomas

Re: Close Ports

Posted By:   Anonymous  
Posted On:   Monday, September 2, 2002 11:28 AM

Seems strange to me...
please check if the socket is really closed using the
aSocket.isClosed()
method.

EyeDentity
About | Sitemap | Contact