module Rpc_time:Get the time of the server (using the RFC 868 netdate protocol)sig
..end
exception Time_not_available
val remote_time : ?timeout:int -> Unix.inet_addr -> float
Time_not_available
is raised.
The timeout is 5 seconds by default but can be set using the
timeout
parameter.
TCP has been chosen for security reasons, for example, there may be
a firewall between this system and the remote host. It is much simpler
to get a TCP port opened than a UDP port.