#include <socket.h>
Public Member Functions | |
| Socket (SocketManager &rSocketManager, QObject *parent=0) | |
| Constructor. | |
| ~Socket () | |
| Destructor. | |
| void | connectToHost (const std::string &hostname, const int port) |
| Connects the socket to the server. | |
| Socket & | operator<< (const std::string &xmlMessage) |
| It writes a string. | |
| void | close () |
| Close the socket (i.e close the connection). | |
Yves Houpert <yves.houpert@insa-rouen.fr>
|
||||||||||||
|
Constructor.
|
|
||||||||||||
|
Connects the socket to the server.
|
|
|
It writes a string. It writes the length of the string, and then the string itself.
|
1.4.6