Re: Does the Push message still exist?
"wwiltse25150" <[email protected]>
| Newsgroups | gmane.network.gnutella.devel |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], "Philippe Verdy" <verdy_p@...> wrote: > > 1. What port do I listen to so I might catch a UDP message? > > Is it the same port I'm connected to other ultrapeers on via TCP? > > Normally the same port. So if I connect to multiple ultrapeers, should I create both a TCP and a UDP socket for each one to handle the messaging? I'm currently just connecting with a TCP socket. I realize that UDP is not actually "connecting" but will need to create a UDP object that listens on the same port as the TCP socket I'm connected to the ultrapeer on. > > 2. Is there any difference in the PUSH message structure sent > > vis UDP? I'm just wondering if there will need to be any > > changes in my code that increases the hops and decreases the > > TTL value. > > Same structure, but there's an extra header in UDP datagrams to indicate > that they are transporting Gnutella protocol (because there's no initial > session) Is this "extra header" or any other UDP protocol specifics documented online? I really appreciate your prompt replies and thorough explanations.