Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   Should to save ping forever? (https://www.gnutellaforums.com/general-gnutella-development-discussion/9981-should-save-ping-forever.html)

Unregistered April 2nd, 2002 06:49 AM

Should to save ping forever?
 
Hi. I´m trying to develop a Gnutella client and I have some questions.

I read that pongs must come back by the same way they go. That means I have to save (dinamically) pings arrived. do I must keep them forever? (memory out soon, I think). I must wait a second and kill them? What do I must to do?

Excuse my english and thanks to help.

guido April 2nd, 2002 02:49 PM

If I recall correctly, Pings, Queries and QueryHits should be stored for about 10 minutes.
That's important so you can route back Pongs, QueryHits and PushRequests.

You should probably write a method 'CleanUpOldMsgs()' or something like that, which you call regularly in your program.


All times are GMT -7. The time now is 01:01 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.