AIO network sockets and zero-copy under Linux

Posted by remyhorton on Stack Overflow See other posts from Stack Overflow or by remyhorton
Published on 2010-06-04T00:09:55Z Indexed on 2010/06/05 21:42 UTC
Read the original article Hit count: 233

Filed under:
|
|

I have been experimenting with async Linux network sockets (aio_read et al in aio.h/librt), and one thing i have been trying to find out is whether these are zero-copy or not. Pretty much all i have read so far discusses file I/O, whereas its network I/O i am interested in.

AIO is a bit of a pain to use and i suspect is non-portable, so wondering whether its worth persevering with it. Zero-copy is just about the only advantage (albiet a major one for my purposes) it would have over (non-blocking) select/epoll..

© Stack Overflow or respective owner

Related posts about c

    Related posts about linux