ソースを参照

2009-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Updated doc
	* src/Peer.h
Tatsuhiro Tsujikawa 16 年 前
コミット
75a9884fd6
2 ファイル変更8 行追加3 行削除
  1. 5 0
      ChangeLog
  2. 3 3
      src/Peer.h

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2009-03-08  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Updated doc
+	* src/Peer.h
+
 2009-03-07  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added log message in setStatusInternal()

+ 3 - 3
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;