What is the purpose of function in the socket API, getpeername?
terrylee 24-October-2008 01:00:32 PM

Comments


The getpeername() function is used to retrieve the destination address to which the socket is connected.
Posted by waqasahmad


The getpeername() function is basically used to retrieve the destination address to which the socket is connected.
Posted by sagitraz


It allows one to find the IP address at the other end of a TCP connection.
Posted by vishwesh



Posted: 24-October-2008 01:11:41 PM By: vishwesh

It allows one to find the IP address at the other end of a TCP connection.

Posted: 25-October-2008 12:56:14 AM By: sagitraz

The getpeername() function is basically used to retrieve the destination address to which the socket is connected.

Posted: 08-January-2009 01:15:05 PM By: waqasahmad

The getpeername() function is used to retrieve the destination address to which the socket is connected.