Skip to content
Commits on Source (3)
......@@ -3,4 +3,4 @@ project(coms352_project2_part2 C)
set(CMAKE_C_STANDARD 11)
add_executable(coms352_project2_part2 main.c http.c http.h utils.c utils.h buffer.c buffer.h network.c network.h file.c file.h)
\ No newline at end of file
add_executable(http_server main.c http.c http.h utils.c utils.h buffer.c buffer.h network.c network.h file.c file.h)
\ No newline at end of file
HTTP Server
-----------
# Building
1. mkdir build
1. cd build
1. cmake ..
1. make
1. ./http_server
\ No newline at end of file
......@@ -15,7 +15,7 @@ int bind_socket();
void getRequest(int clientfd, GrowthBuffer *request);
#define PORT 2681
#define PORT 26884
#define DEBUG 0
#define TRUE 1
#endif //COMS352_PROJECT2_PART2_NETWORK_H