#include <Socket.hpp>
Public Methods | |
Socket () | |
Socket (unsigned short port) | |
~Socket () | |
void | listen (unsigned short port) |
bool | isPendingConnection (long timeout) |
Friends | |
class | TCPStream |
|
Default constructor. Don't open any connection. |
|
Constructor. Open a listening socket on the specified port. |
|
Destructor. Close the socket. |
|
Check if a new connection is waiting.
|
|
Open a listening socket on the specified port. |
|
Allow the class TCPStream access to private vars |