
socket_address(3)     LPC 系统函数     socket_address(3)

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

语法
     #include <socket_err.h>

     string socket_address( int s );

描述
     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.

请参考
     socket_connect(3),       socket_create(3),       resolve(3),
     query_host_name(3), query_ip_name(3), query_ip_number(3)

MudOS                Last change: 5 Sep 1994                    1

