This class is used by GTCPServer to represent a connection with one of the clients. (If you want to associate some additional objects with each connection, you can inherrit from this class, and overload GTCPServer::makeConnection to return your own custom object.)
More...
#include <GSocket.h>
List of all members.
Detailed Description
This class is used by GTCPServer to represent a connection with one of the clients. (If you want to associate some additional objects with each connection, you can inherrit from this class, and overload GTCPServer::makeConnection to return your own custom object.)
Constructor & Destructor Documentation
GClasses::GTCPConnection::GTCPConnection |
( |
SOCKET |
sock | ) |
[inline] |
virtual GClasses::GTCPConnection::~GTCPConnection |
( |
| ) |
[inline, virtual] |
Member Function Documentation
SOCKET GClasses::GTCPConnection::socket |
( |
| ) |
[inline] |
Returns the socket associated with this connection.
Member Data Documentation