next up previous contents index
Next: Query message Up: Protocol messages Previous: Ping message   Contents   Index

Pong message

Pong messages contain information about a Gnutella host and are sent as response to an incoming Ping message. The message payload type is 0x01 and the message has fields shown in table tbl:gnutellapong. All fields are in network byte order (big endian), except the IP address in Gnutella version 0.4 which is in little endian byte order.


Table 3.3: Gnutella Pong message fields
Bytes Description
0-1 Port number
2-5 IP address
6-9 Number of shared files
10-13 Number of kilobytes shared
14- Optional GGEP extension block





Marcus Bergner 2003-06-10