equal
deleted
inserted
replaced
45 m_factory.Set ("Local", Address (InetSocketAddress (ip, port))); |
45 m_factory.Set ("Local", Address (InetSocketAddress (ip, port))); |
46 } |
46 } |
47 void |
47 void |
48 PacketSinkHelper::SetTcpLocal (Ipv4Address ip, uint16_t port) |
48 PacketSinkHelper::SetTcpLocal (Ipv4Address ip, uint16_t port) |
49 { |
49 { |
50 m_factory.Set ("Protocol", String ("ns3::Tcp")); |
50 m_factory.Set ("Protocol", String ("ns3::TcpSocketFactory")); |
51 m_factory.Set ("Local", Address (InetSocketAddress (ip, port))); |
51 m_factory.Set ("Local", Address (InetSocketAddress (ip, port))); |
52 } |
52 } |
53 #endif |
53 #endif |
54 |
54 |
55 ApplicationContainer |
55 ApplicationContainer |