socket_address

lpc4/lib/doc/efun/socket_address · 470 B

From the archive lpc4.05.14.tar.gz

Download the archive   « Back to the archive contents

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

Site Stats

Snippets: 1791
Codebases: 571