Skip to content

hpca01/AsyncSimpleTCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple TCP server

As title states, this is a simple TCP server written in C.

To start project use the Makefile

make

You will see

./server

~~~~~~~~~Waiting to accept a new conn~~~~~~~~

After which you can create a seperate terminal and invoke the client:

./client

When you're done and want to clean up the artifacts:

make clean

To-Do:

  • Write simple TCP server
  • Write client
  • Parse Headers
  • Assemble return with correct HTTP code.
  • Change main loop to be async using EPOLL.
  • Write out client to do a load test.
  • Valgrind Test on server after client is written

About

Async TCP Server implementing HTTP protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published