Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 486 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 486 Bytes
  • A Simple File Server Using io_uring

This code implements a very simple file server using the new (as of kernel 5.1) io_uring asynchronous I/O API. It's NOT an HTTP server. All it does is listen for connections on a TCP/IP port. When one arrives, it reads a UTF-8 file name from the peer (terminated by a newline 0x0A). It then sends the file contents to the peer, using the facilities provided by libiouring. The code is extensively commented to explain exactly what is happening.