On 2011-05-09 01:45, Matteo Sisti Sette wrote:
On 05/09/2011 04:54 AM, Martin Peach wrote:
[udpsend] uses almost the same code as [netsend] to send the data. I guess the bottleneck is in the way you load the hundreds of messages into [udpsend]. Are you receiving one packet per message at the other end?
What do you mean by one packet per message?
If you send a message through [udpsend] it will be packaged into a UDP packet. A UDP packet can be up to 32768 bytes. Sending lots of small packets adds a lot of overhead compared to sending the same data as one packet.
Martin