#ifndef IPADDRESS_H #define IPADDRESS_H #include #include #include #include #define MAX_LINE_LENGTH (1024) // This code has been borrowed from this github repo https://github.com/wasmerio/c-http-server and modified by me. int extract_ip_address_from_header(char *line, char *address); char *get_ip_address(FILE *f); #endif