libsockev
libsockev is a portable wapper around poll/select implemented in C89.
It manages an array of abstract stream sockets that have:
- C function callbacks on events
- filter chains (implemented as C functions) e.g. for record splitting
- buffered input and output to guarantee non-blocking operation
Currently the following socket types are supported:
- TCP on IPv4
- non-blocking stdin and stdout of the current process (bidirectional socket)
- async background processes (stdin, stdout, stderr bound to sockets)
- wrapper around any libporty (stream) socket
License
GNU LGPL 2.1 or later
Downloads and contact
Latest development version is in svn: svn://svn.repo.hu/libsockev/trunk
Stable source release tarballs are also available.
Contact the author.