in reply to Re^2: connection refused
in thread connection refused
If you want to open a socket to connect to a (possibly remote) listening port, you should get assigned a random free local port number by the system and you'll be fine until you run out of ports (or open handles).
I'm not sure if you actually can open a connection to a listening port from a port number that is already in use as a listening port. I also can't think of a situation where you'd care.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: connection refused
by jbert (Priest) on Dec 09, 2006 at 09:57 UTC |