sshlyk Posted May 4, 2009 Report Share Posted May 4, 2009 Hi, EveryoneI am a student at Maryland University.We have a bittorent client project we need to implement in a group of 4 people in 3 weeks. Right now we are having some problems communicating with peers.We were able to connect to peers and do handshakes. In addition, we received 'bitmask', sent 'interested' and received 'unchoke' messages. Peer we are connected to, is one of us, seeding the whole file (in Transmission. We tested if file can be downloaded using Azerus) However, we never receive data on 'request' of piece 0 index 0 size 2^14, client does not respond. We checked correctness of our message by sniffing packets in Wireshark and comparing 'request' messages with 'requests' from different clients.We suspect that we missing something from the protocol, but not sure what exactly.Please, help students not to fail this class !P.S.For our client ID we are using random 20 bytes. Implementation is done in Java Link to comment Share on other sites More sharing options...
Switeck Posted May 4, 2009 Report Share Posted May 4, 2009 I suggest taking Azureus apart, as it's also in Java...but you'll need to remove 99% of the stuff in it to get down to the "bare bones" BitTorrent protocol parts... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.