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?
In reply to Re: Detecting a port "in use" on localhost:$port
by ikegami
in thread Detecting a port "in use" on localhost:$port
by freddo411
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |