Create the first assignment: 'timeserver'
This commit is contained in:
parent
bc6a19ff33
commit
a54d88dc70
6 changed files with 92 additions and 0 deletions
23
timeserver/timeserver.h
Normal file
23
timeserver/timeserver.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue