Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!VENERA.ISI.EDU!postel From: postel@VENERA.ISI.EDU Newsgroups: comp.protocols.tcp-ip Subject: Re: Network Temperature Protocol Message-ID: <9007240048.AA00668@bel.isi.edu> Date: 24 Jul 90 00:48:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 49 Network Working Group J. Postel Request for Comments: XXXX ISI July 1990 Temperature Quote Protocol Status of this Memo This RFC suggests an Experimental Protocol for the Internet community. Hosts on the Internet that choose to implement a Temperature Quote Protocol are encouraged to experiment with this protocol. Introduction A useful debugging and measurement tool is a temperature quote service. A temperature quote service simply sends a short message (the temperature) without regard to the input. TCP Based Temperature Quote Service One temperature quote service is defined as a connection based application on TCP. A server listens for TCP connections on TCP port 16. Once a connection is established a short message (the temperature) is sent out the connection (and any data received is thrown away). The service closes the connection after sending the quote. UDP Based Temperature Quote Service Another temperature quote service is defined as a datagram based application on UDP. A server listens for UDP datagrams on UDP port 16. When a datagram is received, an answering datagram is sent containing the temperature (the data in the received datagram is ignored). Temperature Syntax and Semantics The temperature quote is the current temperature at the location of the server reported in degrees Celsius (or centigrade). It is transmitted as decimal digits represented as ASCII printing characters, preceded with a plus or a minus sign. Examples: +22 ; a pleasant temperature for people -3 ; a bit on the cool side