Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   Connection stratergy (https://www.gnutellaforums.com/general-discussion/54340-connection-stratergy.html)

gnutella06 March 16th, 2006 01:25 AM

Connection stratergy
 
Hello everybody,

I have some questions regarding connection startergy of phex. As phex can maintain simultaneous connection with 5-6 ultrapeers. How phex can determine which data came from which ultrapeer and how to send the respective data to the restpective ultrapeer. From implementation point of view, how it is handeled in phex? (As there are multiple sockets )

Can any body point me to the correct file in phex source code?


Regards,
gnutella06

GregorK March 16th, 2006 09:04 AM

Check the sources of
phex.connection.ConnectionEngine - which handles each single connection.
and
phex.msg.MsgManager - which is doing message routing based on routing tables.


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