Skip to content
GitLab
Explore
Sign in
Commits on Source (3)
Use correct port
· 199630ce
Matthew Burket
authored
Apr 13, 2018
199630ce
Added README
· 21d21314
Matthew Burket
authored
Apr 13, 2018
21d21314
Change ELF name
· 6b67e23d
Matthew Burket
authored
Apr 13, 2018
6b67e23d
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
6b67e23d
...
...
@@ -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
README.md
0 → 100644
View file @
6b67e23d
HTTP Server
-----------
# Building
1.
mkdir build
1.
cd build
1.
cmake ..
1.
make
1.
./http_server
\ No newline at end of file
network.h
View file @
6b67e23d
...
...
@@ -15,7 +15,7 @@ int bind_socket();
void
getRequest
(
int
clientfd
,
GrowthBuffer
*
request
);
#define PORT 268
1
#define PORT 268
84
#define DEBUG 0
#define TRUE 1
#endif //COMS352_PROJECT2_PART2_NETWORK_H