Skip to content

Instantly share code, notes, and snippets.

View i-rebel-aj's full-sized avatar
:octocat:
<(^_^)/

Akshay Jain i-rebel-aj

:octocat:
<(^_^)/
View GitHub Profile
@i-rebel-aj
i-rebel-aj / single-thread-server.c
Created February 23, 2024 07:15
A simple single threaded webserver written in C
#include<stdio.h>
#include<stdlib.h>
#include <string.h>
#include<unistd.h>
#include<sys/socket.h>
#include<signal.h>
#include <netinet/in.h>
//Maximum Application Buffer
/**
Max Amount of memory from network (Request Size)