file transfer
Moderator: Moderators
file transfer
Hi!
I'm working on the Client-Client protocol implementation in my own direct connect client. I've done a lot of work on it and i give it a go with Valknut.
So i tried to download the list from my client with Valknut and i got the following log between the 2 clients:
"<<" means the lines that was sent by my client
">>" means the received lines
The client with [OP]giszo nick is in passive mode and connected to [HUN]giszo. The [HUN]giszo client is my own that i'd like to test.
Transfer log is pasted here: http://phpfi.com/118756
The reason why i started this topic is that i can't understand the following stuff: The Valknut client (the downloader) sent $MaxedOut, but why? Is it a bug in it or in my implementation?
Thx for any help, giszo
I'm working on the Client-Client protocol implementation in my own direct connect client. I've done a lot of work on it and i give it a go with Valknut.
So i tried to download the list from my client with Valknut and i got the following log between the 2 clients:
"<<" means the lines that was sent by my client
">>" means the received lines
The client with [OP]giszo nick is in passive mode and connected to [HUN]giszo. The [HUN]giszo client is my own that i'd like to test.
Transfer log is pasted here: http://phpfi.com/118756
The reason why i started this topic is that i can't understand the following stuff: The Valknut client (the downloader) sent $MaxedOut, but why? Is it a bug in it or in my implementation?
Thx for any help, giszo
-
- Posts: 506
- Joined: 2003-01-03 07:33
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
I'm started this topic to talk about the file transfer protocol implementation, not about the Valknut client.
I just used it for testing because it was easy to install & run, but now i switched to DC++ 0.674 and everything looks fine
Filelist upload is going well, but still i've one question with the Client-Client protocol.
When i'm downloading the filelist, DC++ uses $Get to request the files.xml.bz2. If i'm trying to download a file from the previously downloaded filelist that file will be requested by $UGetBlock and my client has only XmlBZList in the support list Is it okey? So all new client should support $UGetBlock as well?
I just used it for testing because it was easy to install & run, but now i switched to DC++ 0.674 and everything looks fine
Filelist upload is going well, but still i've one question with the Client-Client protocol.
When i'm downloading the filelist, DC++ uses $Get to request the files.xml.bz2. If i'm trying to download a file from the previously downloaded filelist that file will be requested by $UGetBlock and my client has only XmlBZList in the support list Is it okey? So all new client should support $UGetBlock as well?
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Look at the wiki -- I have notes about the usability of $GetZBlock and $UGetBlock in their discussion pages. But you can answer your questions to some extent by looking at the page for $Supports. Each $Supports flag has a description, including which commands it means support for, and what version of DC++ implemented them. XMLBZList is included, of course.giszo wrote:If i'm trying to download a file from the previously downloaded filelist that file will be requested by $UGetBlock and my client has only XmlBZList in the support list Is it okey? So all new client should support $UGetBlock as well?
DC++ Uses ADC commands to get files - in fact, you will need to use them as well to retrieve TTH leaves for file verification, so take the plunge and do the village. You can request a file by TTH instead of filename, which will help you out if they've moved it within their share.