项目作者: hpca01

项目描述 :
Async TCP Server implementing HTTP protocol
高级语言: C
项目地址: git://github.com/hpca01/AsyncSimpleTCP.git
创建时间: 2020-11-08T17:00:23Z
项目社区:https://github.com/hpca01/AsyncSimpleTCP

开源协议:

下载


Simple TCP server

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

To start project use the Makefile

  1. make

You will see

  1. ./server
  2. ~~~~~~~~~Waiting to accept a new conn~~~~~~~~

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

  1. ./client

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

  1. 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