awds::TcpServer Class Reference
TCP server class for handling incoming TCP connections.
More...
#include <TcpServer.h>
Inherited by awds::TcpBroadcast [private]
.
List of all members.
|
Public Member Functions |
typedef void() | AcceptCallback (int client_fd, struct sockaddr_in6 &peer, void *cookie) |
| TcpServer (const char *servicename, unsigned short listenport) |
virtual bool | start () |
void | waitForClient (AcceptCallback *cb, void *cookie) |
Protected Member Functions |
bool | createSocket () |
Static Protected Member Functions |
static void | accept_connection (gea::Handle *h, gea::AbsTime t, void *data) |
Protected Attributes |
const char * | name |
unsigned short | port |
int | lsock |
gea::UnixFdHandle * | lsockHdl |
Detailed Description
TCP server class for handling incoming TCP connections.
- See also:
- TopoWatch
TcpShell
The documentation for this class was generated from the following files:
- /usr/src/awds/src/awds/TcpServer.h
- /usr/src/awds/src/TcpServer.cc