I've not found any code to work with - but is there any reason that
libevent would not work with standard files?
I keep getting permission denied
more or less:
fd = open(filename, O_RDONLY)
event_set(&ev, EV_READ | EV_PERSIST, rd_callback, rd_data);
event_add(&ev, NULL)
-> EPERM
Or does libevent only work with network connections?
aside: the other thing that I've been looking into is the possibility of
getting the http package to pass data through a callback rather than
store to memory. I've been testing it with podcasts and 50 mb files are
proving too heavyweight. (the lack of ability to display progress is
proving annoying as well)
Thank you!
- Teunis Peters
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users