int getpeername(int sockfd, struct sockaddr* addr, socklen_t* addrlen);
Fills the addr structure with the address to which socket sockfd is connected to.
int getpeername(int sockfd, struct sockaddr* addr, socklen_t* addrlen);
Fills the addr structure with the address to which socket sockfd is connected to.