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

server.h File Reference

The server which listens on a socket. More...

Go to the source code of this file.

Functions


Detailed Description

The server which listens on a socket.

The server opens sockets, accepts connections, and spawns threads which handle the connections.


Function Documentation

void server_close_sockets  ) 
 

Closes server sockets.

This function is called when the server shuts down or when a new process is forked.

void* server_main_thread void *  arg  ) 
 

Server main function.

Waits for connecting clients, spawns connection threads.

void server_shutdown  ) 
 

Server shtdown.

Closes all sockets, deletes the pipe.


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