Connecting Tech Pros Worldwide Forums | Help | Site Map

Getting time from an HttpResponse

Nuno Magalhaes
Guest
 
Posts: n/a
#1: Nov 17 '05
This site:
http://tycho.usno.navy.mil/cgi-bin/anim
gives me the date at a specified moment but using HttpRequest and
Response with this server is very bad.

Does anyone knows how to get a high fidelity time in order to get my
trial version software up and running?

Give me some sites please so that I can retrieve an high fidelity time.
With the site given above I only get two httpresponses and nothing more
than that. At the third it does not reply.

Thanks for any help,
Nuno Magalhaes.


Richard Blewett [DevelopMentor]
Guest
 
Posts: n/a
#2: Nov 17 '05

re: Getting time from an HttpResponse


"Nuno Magalhaes" <nunommagalhaes@hotmail.com> wrote in message
news:1128804675.371951.121240@g14g2000cwa.googlegr oups.com...[color=blue]
> This site:
> http://tycho.usno.navy.mil/cgi-bin/anim
> gives me the date at a specified moment but using HttpRequest and
> Response with this server is very bad.
>
> Does anyone knows how to get a high fidelity time in order to get my
> trial version software up and running?
>
> Give me some sites please so that I can retrieve an high fidelity time.
> With the site given above I only get two httpresponses and nothing more
> than that. At the third it does not reply.
>
> Thanks for any help,
> Nuno Magalhaes.[/color]

If you have surfed to the site you will see that it keeps the connection
open and so you will have problems using HttpRquest

However, it sounds as if you want an NTP time server and to talk to the time
server

http://ntp.isc.org/bin/view/Servers/WebHome

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk


Closed Thread


Similar C# / C Sharp bytes