Perl Programming/Keywords/getpeername

The getpeername keyword
The getpeername function returns the packed socket address from the other end of the SOCKET.