Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

socket_bind.c File Reference

#include <netinet/in.h>

Functions

int socket_bind (int port, int cqueue)
 Bind a socket to a port (Server side). More...


Function Documentation

int socket_bind int    port,
int    cqueue
 

Bind a socket to a port (Server side).

This function creates an Socket and binds it to a local port.

Parameters:
port  an integer which specifies the port
cqueue  an integer how many pending connections queue will hold in the waiting queue.
Returns:
The File Descriptor (FD) which allows access to the bound port.


Generated on Thu Feb 17 10:17:23 2005 for FinalYearProject,A.Hofmeier:CommunicationLibrary by doxygen1.2.15