1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

extra docs for uTorrent's PEX

This commit is contained in:
Charles Kerr 2007-08-25 04:20:25 +00:00
parent 13232b3c28
commit 84ec3e3c90

View file

@ -31,6 +31,9 @@ dictionary with the following keys:
(ie: 6 bytes for IPv4 address and port in network byte order) (ie: 6 bytes for IPv4 address and port in network byte order)
added since the last peer exchange message added since the last peer exchange message
added.f added.f
string, one byte of flags for each peer in the above added string string, one byte of flags for each peer in the above added string.
according to libtorrent's ut_pex.c:
0x01 - peer supports encryption
0x02 - peer is a seed
dropped dropped
same format as added, contains peers dropped since last peer exchange same format as added, contains peers dropped since last peer exchange