hostId | Id of udp socket where event happened. |
connectionId | Connection id for event. |
channelId | Channel id for data event. |
buffer | Prepared incoming buffer. |
bufferSize | Prepared buffer size. |
receivedSize | Actually received length. |
error | Possible error. |
Delivered different network events to user. kConnectionEvent will notify about new connection established, kDisconnectEvent will report about disconnection happened, kDataEvent will report about new information delivered. Use must represent buffer for delivered data.