Public Member Functions | |
| Client (Server &the_server, int connection) | |
| Create a new Client object. | |
| void | start (const weak_ptr< Client > self) |
| Start the thread for handling the connection with this client. | |
| Client::Client | ( | Server & | the_server, | |
| int | connection | |||
| ) | [inline] |
| void Client::start | ( | const weak_ptr< Client > | self | ) | [inline] |
Start the thread for handling the connection with this client.
| self | The iterator of this Client object inside the server's clients set. This is used to remove itself from the clients set once the client has closed the connection. |
1.5.3