How are messages encoded or sent / received by peers?
If there is a message
have: <len=0005><id=4><piece index>
How is it sent (in binary, how is it converted to binary?) And received?
Is there a specific order in which messages are sent to peers?
I read the spec, but that leaves me with questions.
thank
Before announcing the message, the have specification says:
have
< > < message ID > < > . . - . .
. " " - . , 5 1 ( ).
.
, . , . BITFIELD , . PIECE , , , , .
. - , ( HAVE ). , . "", , PIECE 16 , , . , PIECE PIECE. , .
"", FAST. REQUEST PIECE REJECT-REQUEST. . REJECT-REQUEST -, , .
Source: https://habr.com/ru/post/1773729/More articles:Android Syntax SensorEventListener - androidWorkspace does not display correctly - tfsasp.net mvc. Bind ViewModel for items in a collection - collectionsSolution of applications in C # for quadratic imaginary roots - c #Ошибка при восстановлении базы данных? - sqlDoes the client support NTLM Auth Support Services? - restHow to generate "select count (*) as y from (select different x, y from tableName) as t" using NH? - c #Problems with templates and __LINE__ - c ++How to change part of a schema in Ruby on Rails? - ruby-on-railsDownload ASP.NET DropDownList - .netAll Articles