socket_address(3)

NAME
socket_address() - return the remote address for an efun socket

SYNOPSIS
#include <socket.h>
#include <socket_errors.h>
string socket_address(int s)

DESCRIPTION
socket_address() returns the remote address for an efun socket s. The returned address is of the form:

    "127.0.0.1 23".

RETURN VALUES
socket_address() returns:

    a string format address on success.

    an empty string on failure.

SEE ALSO
socket_connect(3), socket_create(3)