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 send the 'handshake'. Code is below - peer_id = 'autobahn012345678bit' peer_id = peer_id.encode('utf-8') pstr = 'BitTorrent protocol' pstr = pstr.encode('utf-8') pstrlen = chr(19) pstrlen = pstrlen.encode('utf-8') reserved = chr(0) * 8 reserved = reserved.encode('utf-8') There are my variables that I'm sending. My msg