Gnutella Forums  

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

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


Reply
 
Thread Tools Display Modes
  #1  
Old January 30th, 2008
Alcherenga Alcherenga is offline
Disciple
 
Join Date: January 30th, 2008
Posts: 11
Alcherenga is flying high
Default failed in locating log

hi,
we are developing a simple gnutella client and for testing purposes we are using phex 3. although we could connect and get the 200 OK message we are facing some problem while sending and receiving ping /pongs.

we are connected to high speed internet and 24 X7 and hence we are running phex as an ultrapeer. now our client connects to the phex ultrapeer as node and succesfully receives 200 OK message.

the problem arose when we tried to send ping. the ping is sent without any GGEP extension and we have checked the message which is exacty as defined by 0.6 specs.

the questions is :
a. is there any way to know in phex that the ping is being received from my client .
b. we are unable to find the log files anywhere.
c. a basic quation, in which port the phex sends the pongs. the listening ip: port which is being advertised during the handshake or to the directly connected one. [ i mean we have both the sockets wide open to receive pongs].

could somebody point the location, i searched thru the app and the shared directories, but could n't find thru.

any help will be highly appreciated.

alcherenga,
Reply With Quote
  #2  
Old January 30th, 2008
GregorK GregorK is offline
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
  #3  
Old January 30th, 2008
Alcherenga Alcherenga is offline
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Locating my Account... sunflowersmile Windows 1 June 1st, 2008 10:44 PM
Locating Sources lydlaw LimeWire+WireShare Tips and Tricks 0 March 18th, 2008 07:24 PM
locating sources what does this mean? madmix Download/Upload Problems 0 February 21st, 2004 02:11 AM
locating other clients icmn42 BearShare Open Discussion 3 August 22nd, 2001 02:43 PM
locating? Unregistered Gnotella (Windows) 0 June 21st, 2001 03:16 PM


All times are GMT -7. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.

Copyright © 2026 Gnutella Forums
All Rights Reserved