PUSH: Difference between revisions

From Gnutella2
Jump to navigation Jump to search
(navi)
Line 1: Line 1:
[[PO|<< PO]] | [[QKA|QKA >>]] | [[Root_packets_index|Packet Index]]
= /PUSH =
= /PUSH =



Revision as of 23:38, 5 September 2005

<< 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.