Skip to content Skip to sidebar Skip to footer

Not Receiving Any Data Back From Bittorrent Peer Handshake

I'm having some trouble on the bit torrent protocol. I'm at the point of sending a handshake message to some peers. I have my client basically connect to every peer in list then se

Solution 1:

The output is incorrect, it misses 'BitTorrent protocol'. A proper handshake string is 68 bytes long.

It should be:

\x13BitTorrent protocol\x00\x00\x00\x00\x00\x00\x00\x00\x94z\xb0\x12\xbd\x1b\xf1\x1fO\x1d)\xf8\xfa\x1e\xabs\xa8_\xe7\x93autobahn012345678bit

Post a Comment for "Not Receiving Any Data Back From Bittorrent Peer Handshake"