In a list context, the accept method also returns the peer address:
my( $client_sock, $client_addr ) = $sock->accept();
In reply to Re: IO Socket - Detect inbound IP
by BrowserUk
in thread IO Socket - Detect inbound IP
by sans-clue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |