Home > other >  About the bt download in the problem of how to download after a successful handshake
About the bt download in the problem of how to download after a successful handshake

Time:10-05

Recently in DHT and bt download, after get the peer to establish a TCP connection and completes the handshake,
To this is no problem, the problem is the next step,
Consult others' project, in shaking hands after a successful and then extend the messages sent,
To send data is as follows:
CRH (20) + CRH (0) + bencode ({" m ": {" ut_metadata" : 1}})
There are data response after sending, but the response data is not encoded b, is probably useless data
So the problem is coming, I send the data was wrong?
Or should not be extended messages sent after shaking hands? Then shake hands after sent directly to get the data request or what?

CodePudding user response:

After caught, has been made clear how
  • Related