Browse Host

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