Skip to content

OllieDay/ntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ntp

Library for querying NTP servers.

Usage

#include "ntp.h"

struct ntp_packet packet;

// Use default server and port
ntp_query(&packet, NULL, NULL);

// Use specified server and port
ntp_query(&packet, "pool.ntp.org", "123");

Example

See main.c for an example.

Releases

No releases published

Packages

No packages published

Languages