Perl Programming/Keywords/getpeername

Previous: getnetent Keywords Next: getpgrp

The getpeername keywordEdit

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

SyntaxEdit

  getpeername SOCKET

ExamplesEdit

   use Socket;

   $hersocketaddress = getpeername(SOCKET);
Previous: getnetent Keywords Next: getpgrp