List of all members.
Detailed Description
A socket provider establishes the connection to a client.
The makeConnection method returns a Socket when the client connects to the port. The method can be used repeatedly to connect to more than one client. Each client connection is represented by its own Socket object.
Constructor & Destructor Documentation
| SocketProvider::SocketProvider |
( |
int |
portnr, |
|
|
bool |
hostonly | |
|
) |
| | |
| SocketProvider::SocketProvider |
( |
int |
firstport = 1969, |
|
|
int |
maxporttries = 3000, |
|
|
bool |
hostonly = false | |
|
) |
| | |
| SocketProvider::~SocketProvider |
( |
|
) |
|
Member Function Documentation
| void SocketProvider::init |
( |
int |
, |
|
|
int |
, |
|
|
bool |
| |
|
) |
| | [private] |
| Socket* SocketProvider::makeConnection |
( |
int |
timeout = 0 |
) |
|
Socket becomes YOURS. Timeout in seconds.
| bool SocketProvider::ok |
( |
|
) |
const |
| const char* SocketProvider::peekMsg |
( |
|
) |
const |
| int SocketProvider::port |
( |
|
) |
[inline] |
Member Data Documentation