Test if a socket is open ??
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, June 28, 2001 09:27 AM

Is there any way to test if a socket is open. Or possibly get a list of sockets that are open ?



Re: Test if a socket is open ??

Posted By:   Andrew_Cartine  
Posted On:   Friday, June 29, 2001 09:29 AM

That depends on several things. Do you mean within Java? As far as I know you have to test on a port by port basis.

A better way is to use "netstat" at the command line.

Also depends what you mean by "open". I assumed you mean to find out what ports are busy.
About | Sitemap | Contact