Skip to content

File I/O and Socket I/O based on io_uring & Reactor Design Pattern (UESTC CS Unix Network Programming)

Notifications You must be signed in to change notification settings

ZhangYW18/Reactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactor

A simple reactor using io_uring.

Completed cat command, echo command & exit command.

For cat filepath command, it reads from a file and outputs it.

For echo string command, it sends the message to an echo server and then receives the result from it.

For exit command, the program exits.

1. Install liburing on Linux Systems

git clone https://github.com/axboe/liburing
cd liburing
configure
make
make install

2. Run Echo Server in Background

git clone https://github.com/frevib/io_uring-echo-server
io_uring_echo_server 8000  >  out.file  2>&1  & 

3. Compile and Run

./build_lib.sh
./build.sh
./main

About

File I/O and Socket I/O based on io_uring & Reactor Design Pattern (UESTC CS Unix Network Programming)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published