Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 10th, 2003
Apprentice
 
Join Date: August 6th, 2003
Posts: 8
ferret-2000 is flying high
Default some questions about initialization of Connection!

I am writing a Gnutella program, according to webcache protocol,i can connect to Gnutella NetWork,but the problem is it need to wait for a long time.
I realized as this:keep a webcache url list,and a peer list,when startup,choose one url from the webcache url list randomly and request,if return error,delete the url from the list and choose another one,do this until receive the correct response or have requested 10 times.If receive correct response,add the ultrapeers
hosts to the list the program maintaining.
At the same time,load the peer list to the list the program maintaining ,and connect two peers in one second.
When the program is colosed,write the list in the memory to the peer list file in the hard disk.
The problem need very long time to find one or more ultrapeers to connect to.But the other Gnutella software needs about only several seconds.
How to fix this problem?
Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hanging at initialization Shades General Linux Support 4 August 21st, 2005 05:33 AM
error reading initialization file roxy_b Windows 1 January 19th, 2005 05:05 PM
shared file initialization? Unregistered General Mac OSX Support 3 October 1st, 2002 07:06 AM
Connection just slowly dieing on me and other questions... GnotMan Gnotella (Windows) 5 June 11th, 2001 05:36 PM
Shared File Initialization Picker Gnotella (Windows) 0 August 11th, 2000 03:07 PM


All times are GMT -7. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.