getsockname(SOCKET) Returns the packed sockaddr address of this end of the SOCKET connection. Sockets are not yet supported on MS-DOS.