ucc::TCPServer Class Reference

A generic tcp server class for TCPSocket. More...

#include <buffer.h>

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

Public Member Functions

 TCPServer (char *service, char *address="*", unsigned backlog=5, int protocol=0)
 Create and bind a tcp server.

Friends

class TCPSocket

Detailed Description

A generic tcp server class for TCPSocket.

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

Author:
David Sugar <dyfet@gnutelephony.org>

Definition at line 468 of file buffer.h.


Constructor & Destructor Documentation

ucc::TCPServer::TCPServer ( char *  service,
char *  address = "*",
unsigned  backlog = 5,
int  protocol = 0 
)

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.
protocol to use (normally tcpip).

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208