Simple and powerful Socket programming library in C
Knet is very powerful util for creating concurrent Servers and clients in C . Knet supports Acceptor pools for high performance and supports different types of servers :
- Async - NonBlocking Servers
- Async - Blocking Servers
- Sync - Blocking Servers
1. CMake >= 2.8
2. POSIX rt library ( Async I/O )
3. Kprocessor library ( for creating pools and processors )
4. pthread ( used in Kprocessor )
Add ktcp.h , kudp.h , ktcp.c , kudp.c sources to your project and use it :)