Need help debugging new client...

Bill Cox <[email protected]>
Newsgroups gmane.network.bit-torrent.general
Organization ViASIC
Message-ID <1104169266.5279.13.camel@swordfish>
Hi.

I'm writing the btslave client in order to enable faster downloading
with the help of friends.  But that's another topic.

I've got the basic client mostly working.  However, for some reason, I'm
unable to pipeline piece requests.  The code all looks fine to me, and
I've checked the TCP packets with Ethereal, and compared to the packets
sent by Azureus.

If anyone has the time to help me out, I'd appreciate it.  The code can
be checkout out of CVS at btslave.sourceforge.net.  The Ethereal logs
can be downloaded from

http://btslave.sourceforge.net/foo
http://btslave.sourceforge.net/bar

The 'foo' file is a dump of traffic created by Azureus.  The 'bar' file
is btslave.  I've temporarily hard-wired the peer connection in btslave
to download from a particularly good Fedora Core 3 seeder.

When I set btslave to not do any request pipelining
(BS_REQUEST_QUEUE_DEPTH == 1), it runs, but downloads slowly.  When it's
set to 2 or higher, the peer only sends the first piece, and then sends
no further messages.

Feel free to reply directly to me:  [email protected].

Thanks in advance,
Bill




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.