Packet Data Listener. More...
Public Member Functions | |
virtual void | onPacketData (const char *data, size_t length)=0 |
Is called when the packet is received from UDP socket. |
Packet Data Listener.
virtual void onPacketData | ( | const char * | data, |
size_t | length | ||
) | [pure virtual] |
Is called when the packet is received from UDP socket.
data | The pointer to the buffer with the packet bytes. |
length | The number of the packet bytes. |