libev: notify only one process when multiple processes are listening socket

trafdev trafdev at mail.ru
Tue Jul 16 02:18:33 CEST 2013


Hello.

There are N processes listening same socket and subscribed to libev 
notifications.

N-1 of them getting "resource temporaly unavailable (eagain) while 
accepting incoming connection, one wins and handles connection.

Is it possible to get notification on the socket descriptor only in one 
process and not waste resources of others?



More information about the libev mailing list