Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages