On Tue, 04 Oct 2016 14:54:06 GMT, Jack Applegame wrote:
Does FileDescriptorEvent work properly with non-blocking sockets only?
Another question:
after waiting for both read and write event, how to determine which event type occurred?evt.wait(FileDescriptorEvent.Trigger.any); if(???) { // writting } else { // reading }
I found m_activeEvents
member in Libevent2FileDescriptorEvent
. It is exactly what I need.
Can I create a pull request to make this field public accessible?
At this time createFiledescriptorEvent
implemented only for libevent driver, so this should not be a breaking change.