Re: Test if a socket is open ??
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.