git-svn-id: svn://db.shs.com.ru/pip@24 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -158,7 +158,7 @@ private:
|
||||
bool sendToNeighbour(PeerInfo * peer, const PIByteArray & ba);
|
||||
inline static bool isPeerRecent(const PeerInfo & my, const PeerInfo & income) {return (my.cnt < income.cnt) || (my.time < income.time);}
|
||||
|
||||
// 1 - new peer, 2 - remove peer, 3 - sync peers, 4 - data, 5 - ping
|
||||
// 1 - new peer, 2 - remove peer, 3 - sync peers, 4 - data, 5 - ping request, 6 - ping reply
|
||||
// Data packet: 4, from, to, ticks, data_size, data
|
||||
|
||||
typedef PIPair<PIString, PIVector<PeerInfo * > > napair;
|
||||
|
||||
Reference in New Issue
Block a user