Subject: Re: Multiple channels and epoll(7)

Re: Multiple channels and epoll(7)

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 24 Jun 2014 02:21:07 +0200

mån 2014-06-23 klockan 14:32 -0600 skrev Eduardo Silva:

> as of today, is there a mechanism to perform specific operations on
> specific events ?, i am mostly interested into know when to accept a
> channel request and when to read for channels waiting for data.

Not that I can see. You need to try to perform read/write on each active
channel & stream to see if there is anything to perform whenever the
session fd is active in epoll.

How many channels or streams do you need to handle?

Regards
Henrik

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-06-24