#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <sys/stat.h>
#include "network_util.h"
#include "http_request.h"
#include "http_response.h"
int main(int argc, char **argv) {
if (argc != 2) {
fprintf(stderr, "USAGE: %s <server port>\n", argv[0]);
exit(1);
}
int port = atoi(argv[1]);
// your code here
return 0;
}
-
Adam Blank authored5ad8b3f6