PUSH

From Gnutella2
Revision as of 23:38, 5 September 2005 by Spooky (talk | contribs) (navi)
Jump to navigation Jump to search

<< PO | QKA >> | Packet Index


/PUSH

The push packet is used to request that a node initiate a TCP connection to a specified node address. It is useful where the receiving node is unable to accept TCP connections naturally.

For more information about when to use PUSH packets: Reverse Connection (Push) Requests

Sending

An addressed /PUSH packet should be sent to a hub with direct or proxy access to the destination leaf node. It can be sent directly by a hub to one of its leaves without the need for addressing.

Receiving

Upon receiving a /PUSH packet, the local node should initiate a TCP connection to the elected node address and issue a "push handshake", documented below.

Payload

The network address of the node to contact, including of course the port number.

Children

This packet has no known children at the current time, however it is often used with the generic addressing child packet "/?/TO" to indicate that it should be forwarded to a destination.