lpc4/lib/
lpc4/lib/doc/efun/
lpc4/lib/doc/lfun/
lpc4/lib/doc/operators/
lpc4/lib/doc/simul_efuns/
lpc4/lib/doc/types/
lpc4/lib/etc/
lpc4/lib/include/
lpc4/lib/include/arpa/
lpc4/lib/obj/d/
lpc4/lib/save/
lpc4/lib/secure/
lpc4/lib/std/
lpc4/lib/std/living/
NAME
	socket_address - return the remote address for an efun socket

SYNOPSIS
	#include <socket.h>
	#include <socket_errors.h>

	string socket_address(int s)

DESCRIPTION
	socket_address() returns the remote address for an efun socket s.
	The returned address is of the form:
	"127.0.0.1 23" or "foo.bar.gazonk.se 123"

RETURN VALUES
	socket_address() returns:
		a string format address on success.
		an empty string on failure.

SEE ALSO
	socket_connect, socket_create