title: How to get the current time of the operating system of a computer in the LAN using its IP address?
body: <p>If we have a local network, I'd like to get the current time of the operating system of a specific computer in the network:
  assume that my java program is located on a computer: 192.168.10.100
  and I want to know the current time of the OS in another computer: 192.168.10.101</p>
  
  <p>My solution:</p>
  
  <p>I can prepare simple TCP client-server java programs, so the server program will be listening on 192.168.10.101 and will reply the requests coming from the client program which is located on 192.168.10.100 with the OS time.</p>
  
  <p>My question:</p>
  
  <p>Is there any simpler solution which needs only one program to get the time of OS of a specific computer in LAN, without establishing a connection between two programs in the requester and destination computers!</p>