From 75a9884fd6cdae4f76d56eb0a2e2ecd40d8081ec Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 8 Mar 2009 08:02:58 +0000 Subject: [PATCH] 2009-03-08 Tatsuhiro Tsujikawa Updated doc * src/Peer.h --- ChangeLog | 5 +++++ src/Peer.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 585afffd..6c4d1490 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-03-08 Tatsuhiro Tsujikawa + + Updated doc + * src/Peer.h + 2009-03-07 Tatsuhiro Tsujikawa Added log message in setStatusInternal() diff --git a/src/Peer.h b/src/Peer.h index 899ca3c8..506bb937 100644 --- a/src/Peer.h +++ b/src/Peer.h @@ -51,9 +51,9 @@ class BtMessageDispatcher; class Peer { public: std::string ipaddr; - // TCP port which this peer is listening for incoming connections. - // If it is unknown, for example, localhost accepted the incoming connection - // from this peer, set port to 0. + // TCP port of the other end of communication. If _incoming is + // true, then this port is not a port the peer is listening to and + // we cannot connect to it. uint16_t port; private: std::string id;