#define PENDING_MESSAGES_BUFF_SIZE (0x3000)
#define PACKET_READ_OFFS (20-16)
#define PACKET_READ_SIZE (1500 - PACKET_READ_OFFS)
-#define THREAD_POLL_SLEEP_MICS 50
+#define THREAD_POLL_SLEEP_MICS 250
struct MessageQueue {
std::tuple<sockaddr_in, std::array<unsigned char, PACKET_READ_SIZE + PACKET_READ_OFFS>, ssize_t> messagesPendingRingBuff[PENDING_MESSAGES_BUFF_SIZE];
std::atomic<uint16_t> nextPendingMessage, nextUndefinedMessage;