Initial commit
This commit is contained in:
9
include/httpStruct.h
Normal file
9
include/httpStruct.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
// HTTP Request Struct
|
||||
struct HTTPRequest {
|
||||
char *requestType;
|
||||
char *requestVersion;
|
||||
char *requestHost;
|
||||
};
|
||||
5
include/socketHelp.h
Normal file
5
include/socketHelp.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
int createSocket(int port, int *server_fd, struct sockaddr_in *address, int *addrlen);
|
||||
|
||||
Reference in New Issue
Block a user