I've used code similar to yours without problems. I also compiled your
example without any problems. Works for me.
On Sun, Nov 23, 2008 at 8:57 PM, Tom H <[EMAIL PROTECTED]> wrote:
>
>
> I have the following piece of test code:
>
> int main(int argc, char *argv[])
> {
> int sock = 7; /* to
I have the following piece of test code:
int main(int argc, char *argv[])
{
int sock = 7; /* to simplify test case */
struct event e0;
struct event *e1;
event_init();
// works fine: ---
printf("Starting test 0...\n");
event_set(&e0, sock, EV_READ, handle_n