TCP Socket

11 views
Skip to first unread message

derar

unread,
Dec 29, 2009, 7:20:09 PM12/29/09
to ns-3-users

Hi all
In my application, I am able to create two UDP sockets, one for
sending and one for receiving, but I want to use TCP socket, could
please anyone tell me how to change to TCP socket? I want to create
two TCP sockets, one for sending and one for receiving.

Thanks to all

Tom Henderson

unread,
Jan 4, 2010, 12:21:34 AM1/4/10
to ns-3-...@googlegroups.com

I don't know the specifics of your simulation, but in many cases, it
suffices to change the value of this string:
"ns3::UdpSocketFactory"
to this string
"ns3::TcpSocketFactory"

- Tom

Reply all
Reply to author
Forward
0 new messages