The Genny Info Service
Introduction Material:
Copyright:
Copyright (c) 2000-2001 Tom Goulet.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is in the file GNU-FDL in this directory.
Introduction:
This is the Info Service for the Genny Distributed Networking Protocol,
which is documented separately. The Info Service acts Genny Node to Genny Node connection maintanence glue.
The Service Number of the Info Service is 1. A Servant must support the Pongnc Numeric, but all others are optional.
This documents version 0.7 of the Genny Info Service.
Numerics:
Info Ping:
An Info Ping requests an Info Pong packet. The Payload is empty. The Numeric of an Info Ping is 0. Servants may respond to a Ping with
Pong or Pongc (cached and uncached) packets.
Example Info Ping:
'\312,p$'+'\0\0\0\0'+'\0'+'\7'+'\1\0'+'\0'
Client ID Server ID BID TTL S.N. Num
Info Pingnc:
An Info Ping is just like an Info Ping, except Servants must respond with only Pongncs. The Numeric of an Info Pongnc is 1.
Info Pong:
An Info Pong gives the IPv4 address UDP port of a Genny Node. The Numeric of a Pong is 128. The second through fifth bytes are the IP address, and the sixth byte is the port in network byte order. The Info Pong may be cached.
Example Info Pong:
'\312,p$'+'\374Q\217\234'+'\0'+'\377+'\1\0'+'\200'+'\300\250\000\001+'a+'
Client ID Server ID BID TTL S.N. Num IP Address Port
Info Pongnc:
An Info Pongc is just like an Info Pong, except that it must not be cached.
The Numeric of an Info Pongnc is 129.