[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] stuck in my accept call :-(



hello:

libevent-2.0.21-stable

https://forums.freebsd.org/viewtopic.php?f=35&t=43654&p=242811#p242811

event_assign(&serv_sock_evt, evt_base,
ÂÂÂÂÂ sock, EV_READ | EV_PERSIST,
ÂÂÂÂÂ server::serv_sock_accept_pattern, this);
event_add(&serv_sock_evt, NULL);

then i do new in server::serv_sock_accept_pattern and path the arguments to accept.

But apparently socket has nothing to accept.

It is not easy to produce....

help/insight welcome.

--
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mailÂ
/\Â