Re: Sending and receiving packets from multiple lines

Celelibi <[email protected]> Sat, 23 Mar 2013 17:42:40 +0100
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <CAJR2zJ9JTLp3w3amqhRpC7dVZDDszWF7pVTmu1AWaK4TmqzwxQ@mail.gmail.com>
Hello,

TCP should reorder packet fragments.
If you're using UDP or a custom protocol over IP, you have absolutemy
no guarantee about the delivery of packets.

2013/3/23, Randi Botse <[email protected]>:
> Hi All,
>
> My network implements interface bonding, aggregate several lines into
> one logical line to achieve higher connection throughput and
> redundancy.
> I'm writing a network application in Linux that basically send packets
> to another host outside. I got problem with packet ordering on
> destination host, for example. packet1 from line1 should arrived
> earlier than packet3 from line3, etc. I want them to be delivered in
> correct order. Is this possible? if yes, what is the better way for
> doing this?.
>
> Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-c-programming" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>