Hello.
I need help to get some basic things running up.
I would like to fire an event when data for read is available on file descriptor.
Something like this in C code:
event_new(event_base_new(), fd, EV_READ|EV_PERSIST, my_callback, obj);
but Vibed way. How can I achive that?
Another thing I would like to listen on unix socket instead of IP address. How can I do it?
Can I do something like
listenTCP(0, callback, "/tmp/my.sock", options);
?
Thank you
Best regards,
Damian Ziemba