Browse Host

From Gnutella2
Revision as of 16:50, 23 May 2010 by Dcat (talk | contribs) (Created page with 'Browse host allows a user to get a list of all the files another user is sharing. == Handshaking == To browse a host initiate a TCP HTTP connection to the host and request the /…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Browse host allows a user to get a list of all the files another user is sharing.

Handshaking

To browse a host initiate a TCP HTTP connection to the host and request the / resource and send the header 'Accept: application/x-gnutella2'. That header indicates that G2 packets will be sent in response.

Response

The response is a stream of QH2 packets.

Tree structure

The browsed host may also send along VF and PF packets which create a tree structure for the query hit results.