Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 30th, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

a) The only way to know is by checking the log files or more easily by watching the message counter in the network tab or the statistics tab.
b) By default Phex only writes error to log files. To get more extended logging working check out: http://www.phex.org/wiki/index.php/Logging_API
c) Phex sends pongs back through the connection it receives the pong from. On an incoming connection it is the same port.

Check out MessageDispatcher.handlePing() and MessageDispatcher.respondToPing() to get more details or to debug...

Gregor
__________________
Reply With Quote
  #2 (permalink)  
Old January 30th, 2008
Disciple
 
Join Date: January 30th, 2008
Posts: 11
Alcherenga is flying high
Default

ok, i wlll check the log as mentioned by you. i think in that case if i enable for apache log, i will need a apache log viewer.

regarding the messagedis[patch.handleping and ponghandle, do i need to work out in the source code and modify it to handle it.

for example, i would open a file stream and write there from where the ping has come in.
i checked in the network statistics tab, it say about the pong and the pings but then it doesn't say from where the ping came from and where to pong was sent to.

anyways thanks, got some clue to move forward.
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



All times are GMT -7. The time now is 03:12 PM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.