Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

ntp.h File Reference


Detailed Description

Detection of a local NTP server.

Author:
Raphael Manfredi
Date:
2004

Go to the source code of this file.

Defines

#define NTP_PORT   123

Functions

void ntp_init (void)
 Initialize the NTP monitoring.

void ntp_close (void)
 Shutdown the NTP monitoring.

void ntp_probe (void)
 Send an NTP probe to the local host using the loopback addresses 127.0.0.1 and ::1, waiting for a reply within the next NTP_WAIT_MS ms.

void ntp_got_reply (struct gnutella_socket *s)
 Got a reply from an NTP daemon.


Define Documentation

#define NTP_PORT   123
 


Function Documentation

void ntp_close void   ) 
 

Shutdown the NTP monitoring.

void ntp_got_reply struct gnutella_socket s  ) 
 

Got a reply from an NTP daemon.

void ntp_init void   ) 
 

Initialize the NTP monitoring.

void ntp_probe void   ) 
 

Send an NTP probe to the local host using the loopback addresses 127.0.0.1 and ::1, waiting for a reply within the next NTP_WAIT_MS ms.


Generated on Sun Feb 12 10:50:05 2006 for Gtk-Gnutella by doxygen 1.3.6