Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

sockets.h File Reference

Functions related to sockets. More...

Go to the source code of this file.

Functions


Detailed Description

Functions related to sockets.


Function Documentation

int sockets_inet_connect const char *  hostname,
int  port
 

Creates a socket and connects to a remote host.

This function is used by the autoproc client.

Parameters:
hostname Host name.
port Port number.
Returns:
File descriptor.

int sockets_inet_create int  port  ) 
 

Creates and binds an internet socket.

Creates and prepares a TCP socket on which a server can listen.

Parameters:
port Port number.

int sockets_unix_connect const char *  filename,
int  opt
 

Creates a socket and connects to a FIFO.

Parameters:
filename Name of the FIFO.
opt fcntl options.
Returns:

int sockets_unix_create const char *  filename  ) 
 

Creates and initializes a unix domain socket.

Parameters:
filename Name of the pipe.
Returns:
File descriptor.


Generated on Fri Jan 20 10:12:18 2006 by  doxygen 1.4.2