NTP Client using the Windows API

后端 未结 2 1562
别跟我提以往
别跟我提以往 2021-01-26 15:20

I\'m maintaining a legacy system (pre .NET). Is there any way to fetch the time from an NTP server using the Windows API? Failing that, I could probably create a COM object wi

2条回答
  •  抹茶落季
    2021-01-26 15:41

    Yes, it's certainly possible. Unless you're quite ambitious, it's probably easiest to start from working source code. I'd go for Terje Mathisen's port, but that's probably because I've known Terje via Usenet (comp.lang.asm.x86) for years -- the other ports are probably perfectly good too.

提交回复
热议问题