Gets the network address of the connected peer.
#include <prio.h> PRStatus PR_GetPeerName( PRFileDesc *fd, PRNetAddr *addr);
The function has the following parameters:
fdPRFileDesc object representing a socket.addrPR_SUCCESS.PR_FAILURE. The reason for the failure can be obtained by calling PR_GetError.