Syncronizes the system time and date with a SNTP server.
Parameters
- cServer
The hostname of the SNTP server.
- nPort (optional)
default = 123
The port on which the SNTP service is listening.
- nTimeout (optional)
default = 4000
The timeout in milliseconds.
Return Value
Always .T.
See Also
Reference
AbortUrlDownloadToFileEx
AIpAddresses
ANetFiles
ANetServers
GetServerTime
IcmpPing
Ip2MacAddress
ResolveHostToIp
UrlDownloadToFileEx
Used WinApi functions
gethostbyname
GetSystemTime
socket
connect
send
recv
closesocket
SetSystemTime