Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm making a C library software that needs to synchronize system clock with remote NTP server. For now, I'm using "system" command to call the console "ntpdate id.pool.ntp.org" command.

so using of "system" is not proper so there is any other way do the synchronize the clock please help me.


What I have tried:

I'm using "system" command to call the console "ntpdate id.pool.ntp.org" command.
Posted
Updated 11-May-20 22:17pm

1 solution

Why should you reinvent the wheel? Just use the nptd[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900