examples/tcp-large-transfer.cc
changeset 2879 4e5aa7f1e2a0
parent 2865 d40eb18a4da0
child 2887 9a637e6daee0
equal deleted inserted replaced
2878:580a733e49d6 2879:4e5aa7f1e2a0
    73 #endif
    73 #endif
    74 }
    74 }
    75 
    75 
    76 void CloseConnection (Ptr<Socket> localSocket)
    76 void CloseConnection (Ptr<Socket> localSocket)
    77 {
    77 {
    78   //localSocket->Close ();
    78   localSocket->Close ();
    79 }
    79 }
    80 
    80 
    81 void StartFlow(Ptr<Socket> localSocket, uint32_t nBytes, 
    81 void StartFlow(Ptr<Socket> localSocket, uint32_t nBytes, 
    82                Ipv4Address servAddress,
    82                Ipv4Address servAddress,
    83                uint16_t servPort)
    83                uint16_t servPort)