in reply to IO Socket - Detect inbound IP
In a list context, the accept method also returns the peer address:
my( $client_sock, $client_addr ) = $sock->accept();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IO Socket - Detect inbound IP
by sans-clue (Beadle) on Jan 25, 2011 at 19:16 UTC | |
by BrowserUk (Patriarch) on Jan 25, 2011 at 21:19 UTC | |
by sans-clue (Beadle) on Jan 25, 2011 at 21:32 UTC | |
by Anonymous Monk on Jan 25, 2011 at 19:31 UTC | |
by ikegami (Patriarch) on Jan 25, 2011 at 19:34 UTC | |
by Anonymous Monk on Jan 25, 2011 at 21:27 UTC | |
by ikegami (Patriarch) on Jan 25, 2011 at 22:17 UTC | |
|