Re: KQueue problem
Re: KQueue problem
- Subject: Re: KQueue problem
- From: Dario <email@hidden>
- Date: Mon, 19 Apr 2004 15:36:23 +0200
Il giorno 14/apr/04, alle 11:30, Dario ha scritto:
Hi all,
I have a problem with kevent. if I put in the event list a kevent like
this
EV_SET( &ev, sock, EVFILT_READ, EV_ONESHOT, 0, NULL, NULL);
kevent will return immidiatly, without waiting any connection ( sock
is a listener socket )
does anybody have an idea ?
and exactly, what is udata, the opaque data of kevent ?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
solved -> EV_SET( &ev, sock, EVFILT_READ, EV_ONESHOT | EV_ADD , 0,
NULL, NULL);
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.