
socket_address(3)     LPC Library Functions     socket_address(3)

NNAAMMEE
       socket_address()  -  return the remote address for an efun
       socket

SSYYNNOOPPSSIISS
       #include <socket_err.h>

       string socket_address( int s );

DDEESSCCRRIIPPTTIIOONN
       socket_address() returns the remote address  for  an  efun
       socket s.  The returned address is of the form:

              "127.0.0.1 23".

RREETTUURRNN VVAALLUUEESS
       socket_address() returns:

              a string format address on success.

              an empty string on failure.

SSEEEE AALLSSOO
       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

