Thread: C++ sample???
View Single Post
  #9 (permalink)  
Old October 2nd, 2009
arne_bab's Avatar
arne_bab arne_bab is offline
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Quote:
Originally Posted by graytornWW View Post
The actual state of my little "gnutella client" (I called it "tifofi") is:
A simple Qt-application wich is able to connect to multiple servent. I can trace the connections, and a list view shows me the files the servents provide to the network. But there is no download functionality at the moment. Ii takes 3 days to write this well documented c++ code, probably a base for more.....
The download functionality shouldn't be that much effort, as long as you don't go into partial file sharing: Just a simple HTTP 1.1 request to

http:// IP:PORT/uri-res/N2R?urn:sha1:SHA1_HASH_IN_BASE32_UPPERCASE

Since you should already know the sha1 hashes of the files of others, this would make your client functional at once

PS: Which two free projects do you work on?

PPS: Congratulation!
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.

Last edited by arne_bab; October 2nd, 2009 at 03:36 AM. Reason: don't want the URL to become an URL :)
Reply With Quote