[bittorrent] about handshake in peer wire protocol..

CS FYP 2005 hkucsfyp2005 at gmail.com
Thu Oct 6 14:09:00 EDT 2005


hum...
after i used ethereal to see what i've sent...
i found the problem...
the info-hash and peer_id are now  both 40 byte...
but the spec requires them to be 20 bytes only...
but how can i do that?
by using the method "compact" in the ByteBuffer?
thx~


meung~

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/bittorrent/attachments/20051007/1d0c8787/attachment.html 


More information about the BitTorrent mailing list