diff options
Diffstat (limited to 'ot_livesync.h')
-rw-r--r-- | ot_livesync.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ot_livesync.h b/ot_livesync.h index d7490e5..41bfc2e 100644 --- a/ot_livesync.h +++ b/ot_livesync.h | |||
@@ -28,13 +28,19 @@ | |||
28 | Each tracker instance accumulates announce requests until its buffer is | 28 | Each tracker instance accumulates announce requests until its buffer is |
29 | full or a timeout is reached. Then it broadcasts its live sync packer: | 29 | full or a timeout is reached. Then it broadcasts its live sync packer: |
30 | 30 | ||
31 | packet type SYNC_LIVE | 31 | packet type SYNC_LIVE4 |
32 | [ 0x0008 0x14 info_hash | 32 | [ 0x0008 0x14 info_hash |
33 | 0x001c 0x04 peer's ipv4 address | 33 | 0x001c 0x04 peer's ipv4 address |
34 | 0x0020 0x02 peer's port | 34 | 0x0020 0x02 peer's port |
35 | 0x0024 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) | 35 | 0x0024 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) |
36 | ]* | 36 | ]* |
37 | 37 | ||
38 | packet type SYNC_LIVE6 | ||
39 | [ 0x0008 0x14 info_hash | ||
40 | 0x001c 0x10 peer's ipv6 address | ||
41 | 0x002c 0x02 peer's port | ||
42 | 0x002e 0x02 peer flags v1 ( SEEDING = 0x80, COMPLETE = 0x40, STOPPED = 0x20 ) | ||
43 | ]* | ||
38 | */ | 44 | */ |
39 | 45 | ||
40 | #ifdef WANT_SYNC_LIVE | 46 | #ifdef WANT_SYNC_LIVE |