src/Network/TCP.hh
changeset 381 9b35bc329d23
parent 380 d193dd1d8a7e
child 400 d64bf28c4340
equal deleted inserted replaced
380:d193dd1d8a7e 381:9b35bc329d23
   120 
   120 
   121     public:
   121     public:
   122         /**
   122         /**
   123          * Listen on the specific address.
   123          * Listen on the specific address.
   124          */
   124          */
   125         NetworkTCPServer (const NetworkAddress &listen_addr);
   125         NetworkTCPServer (const NetworkEndpoint &listen_addr);
   126 
   126 
   127     private:
   127     private:
   128         /**
   128         /**
   129          * The socket is read for read()
   129          * The socket is read for read()
   130          */
   130          */
   160         /**
   160         /**
   161          * Create a NetworkTCPTransport, and then connect our socket to the given address.
   161          * Create a NetworkTCPTransport, and then connect our socket to the given address.
   162          *
   162          *
   163          * @param connect_addr the address to connect to
   163          * @param connect_addr the address to connect to
   164          */
   164          */
   165         NetworkTCPClient (const NetworkAddress &connect_addr);
   165         NetworkTCPClient (const NetworkEndpoint &connect_addr);
   166 };
   166 };
   167 
   167 
   168 #endif /* NETWORK_TCP_HH */
   168 #endif /* NETWORK_TCP_HH */