> Just a note: For tracking a non-blocking connect, you use a *write*
> event, not a *read* event. ...
Thanks Hannah and Niels. That is the point, I didn't register write cb
for the connecting fd (with my old event_add code, the notification came
from read :))

Here another q regarding bufferevent (with listening tcp fd). Now I got
connection event from error cb (with error what==0x21) to accept a new
client. Is this the expected behavior? Do I need read/write cb for
listening fd?

Thank you. 

Arthur

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to