title: Get internet time in delphi
body: <p>i want to get time and date from internet </p>
  
  <p>i used following code </p>
  
  <pre><code>IdDayTime1.ReadTimeout := 5000;
  IdDayTime1.Host := 'www.time.windows.com';
  IdDayTime1.Port := 37     ;
  Label1.Caption := IdDayTime1.DayTimeStr;
  </code></pre>
  
  <p>but i get :   socket error # 11004</p>
  
  <p>whats is this and what did i do wrong </p>
  
  <p><em>my internet and other things are ok</em></p>