in reply to Detecting a port "in use" on localhost:$port
How can I detect if a port is in use?
I don't follow. You don't bind to a port, so the system will always assign you one that's not in use.
That means you're probably talking about the port to which you are connecting. What does it being "in use" mean to you? And why is that (rather than whether you can connect to it or not) is relevant?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Detecting a port "in use" on localhost:$port
by freddo411 (Chaplain) on Apr 21, 2009 at 22:35 UTC | |
by ikegami (Patriarch) on Apr 22, 2009 at 01:11 UTC |