Based on UDP
Packet Structure:
[Question ID (8 bytes)] [Repeats Count (1 byte)] [QA Marker (1 byte)]
Question ID:
- Randomic bytes, server returns answer with this ID.
Repeats Count:
- Count of resends datagram for this session and this Question ID. Set by client.
QA Marker:
- 0 - 64: This packet is question
- 191 - 255: This packet is answer
What essence? Send question to server until a answer is received or the number of attempts is exhausted.