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

Updated doc
	* src/Peer.h
pull/1/head
Tatsuhiro Tsujikawa 2009-03-08 08:02:58 +00:00
parent 93b7ffc4f7
commit 75a9884fd6
2 changed files with 8 additions and 3 deletions

View File

@ -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> 2009-03-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added log message in setStatusInternal() Added log message in setStatusInternal()

View File

@ -51,9 +51,9 @@ class BtMessageDispatcher;
class Peer { class Peer {
public: public:
std::string ipaddr; std::string ipaddr;
// TCP port which this peer is listening for incoming connections. // TCP port of the other end of communication. If _incoming is
// If it is unknown, for example, localhost accepted the incoming connection // true, then this port is not a port the peer is listening to and
// from this peer, set port to 0. // we cannot connect to it.
uint16_t port; uint16_t port;
private: private:
std::string id; std::string id;