Rewrite in C. Simple TCP listener.
This commit is contained in:
16
app/main.h
Normal file
16
app/main.h
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Created by nazar on 12.09.2025.
|
||||
//
|
||||
|
||||
#ifndef SIMPLEHTTPSERVER_MAIN_H
|
||||
#define SIMPLEHTTPSERVER_MAIN_H
|
||||
|
||||
#include "../src/httpserver.h"
|
||||
#define ADDRESS "127.0.0.1"
|
||||
#define PORT 8080
|
||||
|
||||
struct HttpResponse* handleRequest(struct HttpRequest* request);
|
||||
|
||||
int main();
|
||||
|
||||
#endif //SIMPLEHTTPSERVER_MAIN_H
|
||||
Reference in New Issue
Block a user