A generic tcp server class for TCPSocket. More...
#include <buffer.h>
Public Member Functions | |
TCPServer (const char *service, const char *address="*", unsigned backlog=5, int protocol=0) | |
Create and bind a tcp server. | |
Friends | |
class | TCPSocket |
A generic tcp server class for TCPSocket.
This saves the service id tag so that it can be propogated.
Definition at line 468 of file buffer.h.
ucc::TCPServer::TCPServer | ( | const char * | service, | |
const 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.
service | tag to use. | |
address | of interface to bind or "*" for all. | |
backlog | size for pending connections. | |
protocol | to use (normally tcpip). |