I have QUdpsSocket in worker thread. How I should send incoming data (pointer, qbytearray, copy uint8_t[], ..?) to main thread? And where I should delete it?
It's about 6000 packet per second in local network (average 2mb/sec), and I have no access to change default udp input buffer size. So, receive data in another thread is the way to lose minimum count of packets (if some load in main thread).