dwatransit Posted July 22, 2009 Report Share Posted July 22, 2009 Hi,I am trying to make a client in java in order to understand protocol better.I have a simple program that connects to a torrent and handshakes with a peer. I have received the handshake message that includes the "ut_pex=1".I wait for message that contains peer list but nothing happens. Do I need to send a peer list message first? (I don't because I have no peers yet.) I still have the socket that I started the conversation on. Do I just need to wait for something to happen?I wish there was a flow chart of how this works somewhere.Than youTran Link to comment Share on other sites More sharing options...
Switeck Posted July 22, 2009 Report Share Posted July 22, 2009 Have you tried using wireshark with uTorrent? Link to comment Share on other sites More sharing options...
dwatransit Posted August 10, 2009 Author Report Share Posted August 10, 2009 I have tried but I am still not sure if I am doing something wrong. Link to comment Share on other sites More sharing options...
Switeck Posted August 10, 2009 Report Share Posted August 10, 2009 Sorry, but I'm no help for deciphering a wireshark log.And good luck keeping the number of packets LOW enough to matter! Link to comment Share on other sites More sharing options...
jch Posted August 24, 2009 Report Share Posted August 24, 2009 Are you sending ut_pex=1 in your handshake? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.