This raises a good point: you have a number of tcp and udp sockets. Do you need (or want) to operate them at the same time (i.e. multiplex the I/O)? If so, you can either do that with threads or also with select.
Final point... select can also be used to determine if a socket is ready to accept an incoming connection.
In reply to Re^3: Timeout Socket recv on UDP... on windows
by pc88mxer
in thread Timeout Socket recv on UDP... on windows
by shunyun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |