Re: [core-dev] counting connection attempts in the Sockets class

"Zlatin Balevsky" <[email protected]> Wed, 1 Sep 2004 10:48:16 -0400
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
It is not intended to be an accurate measurement - just to give us an approximate idea how many connection attempts we've had since startup.

We could very well have had a static counter in the Connection object, but this way we may decide to use the socket counter for different purposes in future.

---------- Original Message ----------------------------------
From: [email protected] (Gregorio Roper)
Reply-To: [email protected]
Date: Wed, 01 Sep 2004 08:54:50 +0200

>Why do you do that, if the number of connection attempts is only used in the 
>ConnectionManager to determine whether to accept LimeWire UPs only or any UP? 
>The Sockets class may be used by the downloaders and what not to create outgoing 
>connections, I don't know if it will work as intended if you have many 
>downloaders trying to create outgoing connections, - unless of course you want 
>to be less picky if you are already creating many connections.
>
>mfg
>gregorio
>_______________________________________________
>core-dev mailing list
>[email protected]
>http://www.limewire.org/mailman/listinfo/core-dev
>
_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev