.\"return the remote address for an efun socket
.DT
socket_address
$MUDNAME$ driver help
socket_address

.SH Name
.SI 5
socket_address() - return the remote address for an efun socket
.EI

.SH Synopsis
.SI 5
string socket_address( int s );
string socket_address( object ob );
.EI

.SH Description
.SP 5 5
socket_address() returns the remote address for an efun socket `s', or for
an interactive object `ob'.

The returned address is of the form:
.EP

.SI 5
"127.0.0.1 23".

socket_address() returns:

a string format address on success.

an empty string on failure.
.EI

.SH See also
.SI 5
socket_connect(), socket_create(), resolve(), query_host_name(),
query_ip_name(), query_ip_number()
.EI
