socket_address(3) LPC Library Functions socket_address(3)
NNAAMMEE
socket_address() - return the remote address for an efun
socket
SSYYNNOOPPSSIISS
#include <socket_err.h>
string socket_address( int s );
DDEESSCCRRIIPPTTIIOONN
socket_address() returns the remote address for an efun
socket s. The returned address is of the form:
"127.0.0.1 23".
RREETTUURRNN VVAALLUUEESS
socket_address() returns:
a string format address on success.
an empty string on failure.
SSEEEE AALLSSOO
socket_connect(3), socket_create(3), resolve(3),
query_host_name(3), query_ip_name(3), query_ip_number(3)
MudOS 5 Sep 1994 1