#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 |
1.2.12 written by Dimitri van Heesch,
© 1997-2001