Passa al contenuto principale

Chiavi di comando e di risposta

Le parole chiave di comando attualmente definite sono elencate di seguito. NOTA: Poiché il server e le funzionalità disponibili evolveranno nel tempo, il comando HELP va usato per ottenere il riepilogo più recente delle funzionalità implementate, delle modifiche o dei nuovi comandi.

Keyword   Response

HELP This information.

VERSION "VERSION: <string>" where <string> will be different for
each version of the host table.

HNAME <hostname>
One or more matching host table entries.

HADDR <hostaddr>
One or more matching host table entries.

ALL The entire host table.

ALL-OLD The entire host table without domain style names.

DOMAINS The entire top-level domain table (domains only).

ALL-DOM Both the entire domain table and the host table.

ALL-INGWAY
All known gateways in TENEX/TOPS-20 INTERNET.GATEWAYS
format.

Si ricordi che il server accetta una sola riga di comando e restituisce una sola risposta prima di chiudere la connessione. HNAME e HADDR sono utili per cercare uno specifico host per nome o per indirizzo; VERSION può essere usato dai processi automatici per verificare se esiste una "nuova" versione della tabella degli host senza dover trasferire l'intera tabella. Si noti tuttavia che la stringa di versione restituita è garantita unica solo per ciascuna versione, e al momento non si deve assumere nulla sul suo formato.

Chiavi di risposta:

ERR       entry not found, nature of error follows
NET entry found, rest of entry follows
GATEWAY entry found, rest of entry follows
HOST entry found, rest of entry follows
DOMAIN entry found, rest of entry follows
BEGIN followed by multiple entries
END done with BEGIN block of entries

Ulteriori parole chiave saranno aggiunte man mano che emergeranno nuove esigenze. Segue una descrizione più dettagliata delle richieste e risposte consentite.