Commit 01d4f42c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

commented about local placeholders of {UDP/TCP}Endpoints.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent c994b2e9
......@@ -64,6 +64,11 @@ IOAddress::toText() const {
return (asio_address_.to_string());
// Note: this implementation is optimized for the case where this object
// is created from an ASIO endpoint object in a receiving code path
// by avoiding to make a copy of the base endpoint. For TCP it may not be
// a bug deal, but when we receive UDP packets at a high rate, the copy
// overhead might be significant.
class TCPEndpoint : public IOEndpoint {
TCPEndpoint(const IOAddress& address, const unsigned short port) :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment