Handbook
Glossary
<handshake> ( info-hash peer-id -- handshake )
Vocabulary
bittorrent
Inputs
info-hash
an
object
peer-id
an
object
Outputs
handshake
an
object
Definition
USING:
accessors
byte-arrays
kernel
;
IN:
bittorrent
:
<handshake>
( info-hash peer-id -- handshake )
handshake
new
"BitTorrent protocol"
>byte-array
>>string
8
<byte-array>
>>reserved
swap
>>peer-id
swap
>>info-hash
;