Create the first assignment: 'timeserver'

This commit is contained in:
Charles Descamps 2025-01-24 14:36:36 -07:00
parent bc6a19ff33
commit a54d88dc70
6 changed files with 92 additions and 0 deletions

23
timeserver/timeserver.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef TIMESERVER
#define TIMESERVER
// included libraries
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
// data structures
// function prototypes
#endif // TIMESERVER