socket_address |
Discworld driver help |
socket_address |
Name
socket_address() - return the remote address for an efun socket
Synopsis
string socket_address( int s );
string socket_address( object ob );
Description
socket_address() returns the remote address for an efun socket `s', or for an interactive object `ob'.
The returned address is of the form:
"127.0.0.1 23".
socket_address() returns:
a string format address on success.
an empty string on failure.