Open josecelano opened 1 year ago
I actually think it's deliberately named connection_id
. You'll note that every request message has the same 3 first fields, and every response message has the same 2 first fields.
You're right that the value in that field is the protocol ID, but the field is the same regardless of which action is being requested.
I actually think it's deliberately named
connection_id
. You'll note that every request message has the same 3 first fields, and every response message has the same 2 first fields.You're right that the value in that field is the protocol ID, but the field is the same regardless of which action is being requested.
Thank you @arvidn, in the BEP 15 they call it protocol_id
.
Unless you mean it's deliberately named on this particular implementation documentation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
On the UDP docs: https://www.rasterbar.com/products/libtorrent/udp_tracker_protocol.html
The first field in the connection request is the
protocol_id
, not theconnection_id
.https://www.bittorrent.org/beps/bep_0015.html