ucommon::TCPServer Class Reference

A generic tcp server class. More...

#include <socket.h>

Inheritance diagram for ucommon::TCPServer:
Inheritance graph
[legend]
Collaboration diagram for ucommon::TCPServer:
Collaboration graph
[legend]

Public Member Functions

 TCPServer (const char *address, const char *service, unsigned backlog=5)
 Create and bind a tcp server.

Detailed Description

A generic tcp server class.

This saves the service id tag so that it can be propagated.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition at line 1729 of file socket.h.


Constructor & Destructor Documentation

ucommon::TCPServer::TCPServer ( const char *  address,
const char *  service,
unsigned  backlog = 5 
)

Create and bind a tcp server.

This mostly is used to preserve the service tag for TCP Socket when derived from a server instance.

Parameters:
service tag to use.
address of interface to bind or "*" for all.
backlog size for pending connections.

The documentation for this class was generated from the following file:
Generated on Thu Jul 14 16:35:34 2011 for ucommon by  doxygen 1.6.3