TcpListener::TcpListener |
( |
unsigned |
port, |
|
|
unsigned |
queueSize |
|
) |
| |
Constructor.
....................................................................... Constructor.
TcpListener::~TcpListener |
( |
| ) |
|
|
virtual |
Destructor.
....................................................................... Destructor.
int TcpListener::acceptConnection |
( |
bool |
blocking = false | ) |
|
Accept a connection on our server port.
- Parameters
-
bool | blocking If false, set up the returned descriptor for non-blocking I/O |
....................................................................... This function is called to accept or reject a connection request from the real-time controller.
int gcp::util::TcpListener::getFd |
( |
| ) |
|
|
inline |
Return our file descriptor
The documentation for this class was generated from the following files:
- gcpCbass/util/common/TcpListener.h
- gcpCbass/util/common/TcpListener.cc