Created the second homework, aka "echoserver."
This commit is contained in:
parent
e8882fa175
commit
2ff9635484
4 changed files with 168 additions and 0 deletions
23
echoserver/echoserver.h
Normal file
23
echoserver/echoserver.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef ECHOSERVER
|
||||
#define ECHOSERVER
|
||||
|
||||
// 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 // ECHOSERVER
|
||||
Loading…
Add table
Add a link
Reference in a new issue