Article View: borland.public.cppbuilder.internet.socket
Article #5638Component TIdSNTP - no time synchronisation
From: Chris Koempel
Date: Mon, 28 Jun 2004 11:47
Date: Mon, 28 Jun 2004 11:47
17 lines
1426 bytes
1426 bytes
I implemented following code:
IdSNTPSync->Host = "192.43.244.18";
IdSNTPSync->Port = 123;
IdSNTPSync->BroadcastEnabled = false;
bool test = IdSNTPSync->SyncTime();
TDateTime zeit = IdSNTPSync->DateTime;
but no time syncronisation happens.
After processing: test == false and zeit = 0
thank you for answering
Chris
Technical Details
Message-ID:
<cbp0g9$i5v$04$1@news.t-online.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c6df272059dce9ea,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: "Chris Koempel" <Christopher.Koempel@logotek-gmbh.de> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Component TIdSNTP - no time synchronisation Date: Mon, 28 Jun 2004 13:47:20 +0200 Organization: T-Online Lines: 26 Message-ID: <cbp0g9$i5v$04$1@news.t-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1088423241 04 18623 5nIVXNfvQd+grKp 040628 11:47:21 X-Complaints-To: usenet-abuse@t-online.de X-ID: XRTNO2ZSQekZpu8ss4WMAIKo1beR++5gzErMYjd9kEe+sj+LJQRHUn X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409