Re: Modern implementations of control messages (ping, pong etc.)

[email protected] Mon, 10 Aug 2009 22:21:00 +0000 (UTC)
Newsgroups gmane.network.gnutella.devel
Organization Home, Grenoble, France
Message-ID <[email protected]>
Quoting rik_saunderson <[email protected]> from ml.gnutella.dev-forum:
:Hi there,
:You said in your reply:
:> Not all servents will send it out though, as it is not mandatory to initiate
:> a connection (since you know the remote IP and port).
:
:How do you know the remote IP and Port?  Is this just the IP and Port that
:replies to the GNUTELLA CONNECT message were sent to?

You need to know the remote IP:port of the host before attempting to connect
to it.  The IP:port given in Node or Listen-IP headers are those of the
connecting node, not those of the remote node to which you are connecting!

So the remote IP and port are prior knowledge necessary to establish a
connection.

Now you're going to ask: how does one determine the initial set of IP and
ports to connect to?

Raphael