[Ns-developers] ns3 TCP merge candidate

George Riley riley at ece.gatech.edu
Thu Jan 24 06:48:19 PST 2008


>>
>
> SendTo on a stream socket should be prepared to the fact that a stream
> socket might send only part of the input packet so, it should be
> prepared to re-invoke SendTo with a part of the input packet.
On TCP sockets, there is no "input packet".  There is an input
data buffer, which must be copied in it's entirety to the socket buffer
before the "send" returns to the caller.  The data in the socket buffer
will then be put in packets based on TCP congestion management
algorithms.
George

>
>
> regards,
> Mathieu



More information about the Ns-developers mailing list