diff --git a/include/event2/listener.h b/include/event2/listener.h index 6c3bd775..10887bae 100644 --- a/include/event2/listener.h +++ b/include/event2/listener.h @@ -76,7 +76,12 @@ typedef void (*evconnlistener_errorcb)(struct evconnlistener *, void *); * available, if possible. Ignored on platforms that do not support this. * * This option can help performance for protocols where the client transmits - * immediately after connecting. */ + * immediately after connecting. + * + * This option is only supported by evconnlistener_new_bind(): it can't + * work with evconnlistener_new_fd(), since the listener needs to be told + * to use the option before it is actually bound. + */ #define LEV_OPT_DEFERRED_ACCEPT (1u<<6) /**