Search found 23 matches: ntp

Return to advanced search

Re: Get real date from the Internet

hi, Windows can use a NTP-Server to sync DATE / TIME default "time.windows.com" is used ... i prefer local Service for Germany "ptbtime1.ptb.de" but you must change Value for "SpecialPollInterval"*** which ...
by Jimmy
Wed Sep 28, 2022 5:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 7197

Re: CONSEGUIR LA FECHA Y HORA DE INTERNET

Hola,

prueba con el protocolo NTP, Antonio, hizo una implementación

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25246&p=150436&hilit=ntp#p150436

no se si funcionara en 16 bits

Saludos

Marcelo
by Marcelo Via Giglio
Tue Feb 04, 2020 4:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONSEGUIR LA FECHA Y HORA DE INTERNET
Replies: 8
Views: 1709

Re: CONSEGUIR LA FECHA Y HORA DE INTERNET

Hola,

prueba con el protocolo NTP, Antonio, hizo una implementación

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25246&p=150436&hilit=ntp#p150436

no se si funcionara en 16 bits

Saludos

Marcelo
by Marcelo Via Giglio
Tue Feb 04, 2020 4:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONSEGUIR LA FECHA Y HORA DE INTERNET
Replies: 8
Views: 1709

Re: Get real date from the Internet

I do it by running the following command: w32tm /stripchart /samples:1 /computer:0.pool.ntp.org /dataonly
by ADutheil
Wed Nov 08, 2017 1:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 7197

Re: Fecha y Hora de Internet

Roberto,

acabo de probar el ejemplo itime.prg y funciona perfectamente, da la fecha y la hora desde un servidor NTP.

Dónde encuentras el problema ?

Saludos
by Baxajaun
Fri Jan 27, 2017 11:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fecha y Hora de Internet
Replies: 13
Views: 2162

Re: Date from Internet

With xharbour give me also errors Please understand that the sample code which I posted is for Harbour. :) With Habour is compiled but then not show any times and the exe is on memoty of Pc You are not using the code which I have posted, you have modified it. You removed/commented the following lin...
by anserkk
Thu Apr 02, 2015 4:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Date from Internet
Replies: 11
Views: 3133

Date from Internet

... = AF_INET;   server_addr.sin_addr.s_addr = inet_addr( hostname );   server_addr.sin_port = htons( 123 ); // ntp port      sendto( s, msg, sizeof( msg ), 0, ( struct sockaddr * ) &server_addr, sizeof( server_addr ...
by Silvio.Falconi
Sat Mar 28, 2015 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Date from Internet
Replies: 11
Views: 3133

Re: time.windows.com

Gracias Lucas, me retorna:

ERROR:

CAN´T READ FROM NTP SERVER

VIA HTTP

NIL

Regards, saludos.
by karinha
Thu Jun 26, 2014 1:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: time.windows.com
Replies: 4
Views: 708

Re: Internet Date

... are two links to the source code further up in this message thread. yes, I download it. But, as Stefan wrote, the source code of the function GetSntp() is not present. :( Stefan Haupt wrote on 26 Nov 2012 09:29 I found parts of the source here http://www4.zzz.com.tw/phpbb2/viewtopic.php?t=29 But ...
by Ugo
Mon Aug 12, 2013 10:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Internet Date
Replies: 35
Views: 10115

Re: Internet Date

... I use this function to check date ... Thank you, but my necessity is to have in return the exact TIME more exactly possible. From my search, the ntp protocol can return exactly also 1/1000 sec! The function "getsntp" is a good solution, is quick and use the standard protocol ntp. The ...
by Ugo
Sun Aug 11, 2013 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Internet Date
Replies: 35
Views: 10115

Re: Conectarme a un reloj atomico

Usar un cliente NTP (Network Time Protocol)
by JmGarcia
Thu Aug 02, 2012 1:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conectarme a un reloj atomico
Replies: 1
Views: 361

Re: Poner en hora el ordenador.

Buenos dias, señores porque en Windows 7 esto no funciona?

net time /setsntp:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org"

Gracias
by karinha
Tue Jul 03, 2012 3:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner en hora el ordenador.
Replies: 5
Views: 1176

Como tomar fecha y hora de un archivo en un FTP??

... lo mas practico es saber la fecha del servidor, o en su defecto poder obtener fecha y hora conectandome (desde xH+FW) como cliente a un servidor NTP. Aparentemente haber usado la clase tFTP de FW me hubiese solucionado el problema y tambien hubiese facilitado muchas cosas, pero no hubo manera ...
by gsabattino
Sun May 06, 2012 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como tomar fecha y hora de un archivo en un FTP??
Replies: 1
Views: 1069

Leer tramas "broadcast" de un servidor NTP

Pues eso, necesito poder capturar tramas "broadcast" de un servidor NTP.
El servidor tiene una IP de este tipo 192.168.1.100 y emite tramas con destino 192.168.1.255 y puerto UDP 123.
by JmGarcia
Wed Jan 25, 2012 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer tramas "broadcast" de un servidor NTP
Replies: 0
Views: 234
Next

Return to advanced search