UDP and select() confusion
Somewhere here I am not thinking straight :
I can't use select() in a connectionless situation, that is, where I am using recvfrom() and sendto(), at least not in a way that does any good
If I use connected datagram sockets the first client to connect() will hog the server since the server's fd is "taken"
So, what to do ? Use non-blocking sockets and a timer ?
|