Table of Contents

Name

GetSocketName - retrieve socket name

Description

GetSocketName retrieves the IP address and port number of a socket.

This function is part of libtcp.

Syntax

int GetSocketName(
   FILE *fd,

   int s

   );

Arguments

fd

Where to print the IP address and port number.

s

the socket to obtain information about.

Returns

returns error from getsockname.3

See Also

libtcp(3tcp)

Manual page revision

$Id: GetSocketName.3,v 1.1 2002/04/07 19:50:52 kitchen Exp $


Table of Contents