nanne007 / nanne007.github.io

posts and notes
http://lerencao.github.io
1 stars 0 forks source link

Linux IO: select, poll, epoll #7

Open nanne007 opened 8 years ago

nanne007 commented 8 years ago

https://segmentfault.com/a/1190000003063859

Blocking IO vs Non-Blocking IO

call to recv(send) either return instantly.

Sync IO vs Async IO

either need to copy data from kernel buffer to process buffer

As such, blocking IO and Non-Blocking IO are Sync IO.