mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
socket: add new socket support
Add a new file implementing support for opening sockets, sending and receiving messages with control messages (e.g. addresses, timestamps), and related operations, which should be simpler to use than the system functions and allow their features to be reused between different parts of the chrony code. It is based on the ntp_io.c and ntp_io_linux.c files. It will be used by the NTP client/server, cmdmon server, client, and others.
This commit is contained in: