[Ns-developers] ns3 TCP merge candidate
riley at ece.gatech.edu
Wed Jan 23 10:41:58 PST 2008
>>> I believe you are advocating #2? I have no problem with this, but
>>> note that
> if so, the on-off app needs to change to use stream semantics, and I
> that essentially all future applications that are supposed to work
> multiple transport layers will have to talk in terms of stream sockets
> regardless of the actual socket type being used.
I'm pretty sure the on-off application would not need to change, as it
client, not a server, and does not call listen or accept. It calls
and send, which should be identical semantially for both the TCP
socket and UDP socket.
Clearly, the UDP connect does not send a SYN pkt, but rather just sets
default remote address (IP and port). I think what's already checked
it this way.
> Raj Bhattacharjea
> Georgia Institute of Technology
> School of Electrical and Computer Engineering
> Systems Analyst
More information about the Ns-developers