Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 248 Bytes

84_jian_ce_evconnlistener.md

File metadata and controls

8 lines (6 loc) · 248 Bytes

8.4 检测 evconnlistener

evutil_socket_t evconnlistener_get_fd(struct evconnlistener *lev);
struct event_base *evconnlistener_get_base(struct evconnlistener *lev);

这些函数分别返回监听器关联的套接字和 event_base。