Use one of the IO::Socket::INET documented methods
METHODS sockaddr () Return the address part of the sockaddr structure for the socket sockport () Return the port number that the socket is using on the local host sockhost () Return the address part of the sockaddr structure for the socket i +n a text form xx.xx.xx.xx peeraddr () Return the address part of the sockaddr structure for the socket o +n the peer host peerport () Return the port number for the socket on the peer host. peerhost () Return the address part of the sockaddr structure for the socket o +n the peer host in a text form xx.xx.xx.xx
In reply to Re: How to determine IP address of a remote connection?
by fglock
in thread How to determine IP address of a remote connection?
by Zucan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |