socket_address.3

foundation2_fluffos_v1/lib/doc/driver/efuns/sockets/socket_address.3 · 638 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"return the remote address for an efun socket
.TH socket_address 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
socket_address() - return the remote address for an efun socket

.SH SYNOPSIS
.nf
#include <socket_err.h>

string socket_address( int s );

.SH DESCRIPTION
socket_address() returns the remote address for an efun socket s.
The returned address is of the form:
.IP
"127.0.0.1 23".

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

.SH SEE ALSO
socket_connect(3), socket_create(3), resolve(3), query_host_name(3),
query_ip_name(3), query_ip_number(3)

Site Stats

Snippets: 1791
Codebases: 571