Protocol Sequence
In particular the network time server works as follows:
S: Listen on socket 37 (45 octal).
U: Connect to socket 37 [not ICP].
S: Send the time as a 32 bit binary number.
U: Close the connection.
S: Close the connection.
Note that this is not a normal ICP sequence. Rather, instead of sending a 32-bit socket number to reconnect to, the server returns a 32-bit time value and closes the connection. If the server is unable to determine the time at its site, it should either refuse the connection or close it without sending anything.