Work on epoll backend, and removing dependency on libevent.

This commit is contained in:
Jan Vidar Krey
2009-12-10 23:12:04 +01:00
parent 4a4de0f2ac
commit b3aa5332c8
8 changed files with 294 additions and 259 deletions

View File

@@ -25,7 +25,7 @@ static char probe_recvbuf[PROBE_RECV_SIZE];
static void probe_net_event(struct net_connection* con, int events, void *arg)
{
struct hub_probe* probe = (struct hub_probe*) con->ptr;
struct hub_probe* probe = (struct hub_probe*) net_con_get_ptr(con);
if (events == NET_EVENT_SOCKERROR || events == NET_EVENT_CLOSED || events == NET_EVENT_TIMEOUT)
{