L
linuxfedora
What is the best way to write the following application:
The Main GUI thread will try to send packet to other side in the
network, it could be very slow network or very fast network. How can i
ensure that the sending packet will not miss and the program is
effective?
I tried to use Socket::Send to send data, but if it is in a very slow
network, then it will block the main GUI for responding, right? Then
How can i acheive this purpose?
The packet the program needs to send is about 256kbyte per one and
send in 25 time per seconds.
Thanks
The Main GUI thread will try to send packet to other side in the
network, it could be very slow network or very fast network. How can i
ensure that the sending packet will not miss and the program is
effective?
I tried to use Socket::Send to send data, but if it is in a very slow
network, then it will block the main GUI for responding, right? Then
How can i acheive this purpose?
The packet the program needs to send is about 256kbyte per one and
send in 25 time per seconds.
Thanks