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 (char *address, 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 1645 of file socket.h.


Constructor & Destructor Documentation

ucommon::TCPServer::TCPServer ( char *  address,
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 14 Aug 2013 for UCommon by  doxygen 1.4.7