socket_getaddr
int socket_getaddr(int, struct sockaddr_storage *);
if (socket_getaddr(sock->sock_fd, &ss) == -1)