![]() | |||||||||||||
Messages in this thread |
David Schwartz wrote: > Your issue has nothing to do with select or poll scalability, it has to do > with the fact that UDP is unreliable and you must provide your own send > timing. A UDP server or client cannot just send 100 messages in one shot and > expect the other end to get all of them. They probably won't all even make > it to the wire, so the recipient can't solve the problem. You can check that they get to the wire in (almost?) all cases by watching the return value for the sendto call. And, if you have decent buffers on the receive side, and a clean transport, then you can send at very high speeds w/out dropping any significant number of packets, even when using select/poll and non-blocking sockets... -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 14:03 [from the cache] ©2003-2008 | |||||||||||||