Re: KQueue problem
Re: KQueue problem
- Subject: Re: KQueue problem
- From: p3consulting <email@hidden>
- Date: Fri, 7 May 2004 21:31:11 +0200
udata is USER data: whatever you want it to be...
it is given back to you when kevent returns
(to allow you pass private/contextual data when you fill many kevent
structures)
see an example at
http://www.ifost.org.au/~peterw/kqueue/chatserv.c
for use of kevent with sockets.
Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF
Le avr. 15, 2004, ` 07:01, email@hidden a
icrit :
>
Message: 1
>
To: email@hidden
>
From: Dario <email@hidden>
>
Subject: KQueue problem
>
Date: Wed, 14 Apr 2004 11:30:39 +0200
>
>
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 ?
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.