Structure which hold the Client's Data after an event. More...
#include <ClientPP.h>
Public Attributes | |
| EventType | type |
| Type of the event : Connection, Disconnection, DataReceived. | |
| ConnType | connType |
| Connection type of this event : TCP or UDP. | |
| IP_Type | ipType |
| IP type : IPv4 or IPv6. | |
| SOCKET | socket |
| In TCP -> Client's socket; in UDP -> Server's socket. | |
| SIN | addr |
| Client's address. | |
| std::shared_ptr< ClientPP > | client |
| Shared pointer of the client which produced the event (nullptr for UDP). | |
| std::vector< std::string > | data |
| Vector with the string obtained after a split on the separator. | |
Structure which hold the Client's Data after an event.
| SIN ClientData::addr |
Client's address.
| std::shared_ptr<ClientPP> ClientData::client |
Shared pointer of the client which produced the event (nullptr for UDP).
| ConnType ClientData::connType |
Connection type of this event : TCP or UDP.
| std::vector<std::string> ClientData::data |
Vector with the string obtained after a split on the separator.
| IP_Type ClientData::ipType |
IP type : IPv4 or IPv6.
| SOCKET ClientData::socket |
In TCP -> Client's socket; in UDP -> Server's socket.
| EventType ClientData::type |
Type of the event : Connection, Disconnection, DataReceived.