in reply to IO::Socket::INET issues?
This works with TCP because IO::Socket::INET->new() calls connect() in that case which does a SYN/ACK handshake to open a connection. The handshake fails if the port is not open.
UDP is a connectionless protocol so nothing happens on the network until you try to send some packets to the peer. Creating the socket will succeed whether the remote port is open or not.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IO::Socket::INET issues?
by Anonymous Monk on Jul 17, 2004 at 02:02 UTC | |
by pg (Canon) on Jul 17, 2004 at 02:42 UTC |