Skip to content

zyrch/Servers-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrent servers in c

Imlementation of concurrent severs in c from scratch using this awesome blog as a tutorial.

Project Structure

.
├── readme.md
├── concurrent
│   ├── thread-pool
│   │   ├── makefile
│   │   ├── readme.md
│   │   └── server.c
│   └── threads
│       ├── makefile
│       ├── readme.md
│       └── server.c
├── event-driven
│   ├── epoll
│   │   ├── makefile
│   │   ├── readme.md
│   │   └── server.c
│   └── select
│       ├── makefile
│       ├── readme.md
│       └── server.c
├── file
├── headers
│   ├── thpool.h
│   └── utils.h
├── libuv
│   ├── makefile
│   └── server.c
├── sequential
│   ├── makefile
│   ├── readme.md
│   └── server.c
├── simple-client.py
└── src
    ├── thpool.c
    └── utils.c

10 directories, 24 files

Dependencies

How to Run

  • Server:
    make && ./server
  • client:
    python3 simple-client.py localhost -n [NUM_OF_CLIENTS] 8000

About

Async & Concurrent Servers implemented in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published