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 February 2nd, 2008
Disciple
 
Join Date: January 30th, 2008
Posts: 11
Alcherenga is flying high
Default phex message flow

hi,
i have a little confusion on the message flow as implemented by phex.
this is what i have observed when i was implementing by own ping -pong in a client that i am developing. as noted earlier, i am using phex in our build environment and i have installed the same in the same machine where i am running my new client.

here i have outlined the steps,
a. i send gnutella connect
b. i receive 200k
c. i send gnutella 200k to phex
d. phex responds me with user-agent phex and a set of headers.
e. i send a ping message .
d. i receive a set of pongs.

now while develping the client i have seen that after the receipt of the message (d), the pong guid that i got is not matching with the ping guid.
i mean after (d), is there any message that is being sent. I can post the output if necessary.

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

sorry in the numbering system it should read as a.b.c.d.e.f. by mistake i wrote d in place of f. however in the post that i referred is correct , i mean the step 4
Reply With Quote
  #3 (permalink)  
Old February 2nd, 2008
aac
 
Join Date: February 2nd, 2008
Location: hartford
Posts: 3
watermelondragon is flying high
Default

how do u down load music to mp3
Reply With Quote
  #4 (permalink)  
Old February 2nd, 2008
Disciple
 
Join Date: January 30th, 2008
Posts: 11
Alcherenga is flying high
Default

sorry i have not understood ur point. if it's a humour then :-)
Reply With Quote
  #5 (permalink)  
Old February 2nd, 2008
aac
 
Join Date: February 2nd, 2008
Location: hartford
Posts: 3
watermelondragon is flying high
Default

my son got me a mp3 for my birthday and i want to download on it
can u tell me were to go to do that
or how to donload from the library to the mp3
Reply With Quote
  #6 (permalink)  
Old February 3rd, 2008
wondering why's Avatar
You caught my eye
 
Join Date: September 11th, 2005
Location: Brisbane, Australia
Posts: 6,677
wondering why is just really nice
Default

Quote:
Originally Posted by watermelondragon View Post
my son got me a mp3 for my birthday and i want to download on it
can u tell me were to go to do that
or how to donload from the library to the mp3
Please don't highjack another persons thread with something that is way off topic....
Besides that do you even use Phex ??
You have been answered in the limewire forum where you also posted the same question...
__________________


If you dont live for something...
You die for nothing...
Reply With Quote
  #7 (permalink)  
Old February 3rd, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Could you add the headers being sent?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #8 (permalink)  
Old February 3rd, 2008
Disciple
 
Join Date: January 30th, 2008
Posts: 11
Alcherenga is flying high
Default

arne, i have the headers written to a binary file in disk for experimental parsing. where do i post or upload that? can u name any site where it could be uploaded.

however, i think, this is the problem that i am facing. when i get connected to the phex ultrapeer which is also connected to other clients and ultrapeers, before it sends the pong message, i receive a set of query messages. i parsed the headers and found that message type is 0x80, and hence it must be the query message.

this was not always the case and the flaw was in my experimental code, i think.

but one thing that i would like to bring to ur notice is that, phex is sending me more than 20 pongs for a single ping. is it a good idea to send so much of pongs. { i mean going by the spec, it should return 10 pongs} and the messages are broken. that is receive the header and then the pong message.

i think, my problem is solved now, and i could sucessfully parse query and pong messages. the next thing, that i have to look for is query hit, bye and push.

thanks a lot....
Reply With Quote
  #9 (permalink)  
Old February 4th, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

You should get one pong for the node itself and max 6 additional pongs from the pong cache for each additional hop your ping message would travel.
So max. 7 pongs each with the MsgId of the Pong you send.

Otherwise these pongs are likely not originating from Phex, just routed through Phex.

Of course there could also be a bug somewhere, but that would require more details from you. Message dumps and if possible test cases...
__________________
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 12:37 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.