Skip to content
Advertisement

Linux non-blocking sockets

Hello I want to implement non-blocking TCP sockets with an openSSL overlay. For now I use epoll, but isn’t there another methode (except poll or select)? Is it possible to associate a callback function to a descriptor? I read something about libaio, but I don’t know exactly what it can do…

Advertisement

Answer

I use epoll functions from now on because it works very good. For any help check the corresponding manpages which are good documented.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement