![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Search | Today's Posts | Mark Forums Read |
General Gnutella Development Discussion For general discussion about Gnutella development. |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
| |||
![]() I was wondering, when a Gnutella query is sent out to all the clients, how does the client software find the file? i know you select the directory of shared files, but does the software catalog the files each time it's loaded, or does it just scan the folder(s) each time? I would think that creating a database of files would take up more space, but make searching much faster. |
| |||
![]() Quote:
|
| |||
![]() OK, so the client creates a list in memory or in a file and refreshes it manually. i didnt think it actually scanned the folder each time. for the exception of limeware (due to its non-native coding) most of the clients (morpheus, bearshare, etc..) load fairly quickly. I'm assuming each load of the program must create a new list, or atleast refresh the list. how do they get all the file attributes (name, size, etc..) so quickly? |
| |||
![]() They get the names with a routine that returns all files in a folder (involves and API call or two) or by having the user pick out the individual files to share. The sizes are easy, C\C++ and VB all have functions that can be used to get the file size. I am not sure what you mean by attribute, but if its the extension it's just a simple matter parsing the file name. |
![]() |
Thread Tools | |
Display Modes | |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Client to Client Encryption | lyonadmiral | New Feature Requests | 1 | February 1st, 2006 04:55 AM |
Server-based multi-user file-sharing client | fry76 | General Gnutella / Gnutella Network Discussion | 3 | November 18th, 2004 12:20 PM |
Gnougat, a jxta based file sharing client | RusselHarvey | General Gnutella Development Discussion | 0 | August 22nd, 2002 05:08 PM |
CD Catalog software | Funnyboy | Mactella (Macintosh) | 0 | May 17th, 2002 02:47 PM |
What is the best Client? | swordfish | General Gnutella / Gnutella Network Discussion | 1 | March 18th, 2001 10:38 PM |