Re: concatenate udp payloads of multiple packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/19/2012 07:32 AM, Arif Hossain wrote:
Thirdly I need to concatenate udp payloads of several packet to
improve bandwidth usage. how should i approach this?

It isn't clear you can. An application using UDP is expecting message boundaries to be preserved. That is a fundamental part of the semantics of UDP. So if an application has sent three, 128 byte messages via UDP, the receiving side is expecting to receive three, 128 byte messages, not one 384 byte message. If the receiver can indeed deal with just one, 384 byte message, that is what the sending side should have sent in the first place.

rick jones
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux