C-Webserver/include/server.h
2025-03-10 21:23:34 +01:00

13 lines
328 B
C

#ifndef SERVER_H
#define SERVER_H
// This code has been borrowed from this github repo https://github.com/wasmerio/c-http-server and modified by me.
#include <stdio.h>
void send_response(FILE *f, char *html);
int open_connection(int port);
void accept_client(int sock, char *key);
void send_only(int port, char *key);
#endif