Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 20:23:47 -0500
From:      "Zaphod Beeblebrox" <zbeeble@gmail.com>
To:        Paul <myj@nyct.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: kevent on UDP sockets
Message-ID:  <5f67a8c40802071723i6521622ata1c7773b41e0ca26@mail.gmail.com>
In-Reply-To: <20080207133127.T50745@bsd4.nyct.net>
References:  <20080207133127.T50745@bsd4.nyct.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 7, 2008 1:54 PM, Paul <myj@nyct.net> wrote:

>
> I'm having trouble with kevent() in connection with UDP sockets
> (6.2-STABLE).
>
> Registering an event seems to work, but when UDP packet arrives on the
> socket, kevent returns  with 0.
>
> Is there currently a working support for UDP sockets in kqueue/kevent, or
> does it only apply to TCP sockets ?


I have a fairly non-trivial application that sends and receives UDP packets
with kqueue.

Registering output queue events is not usful, but input queue events work
just fine for me.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f67a8c40802071723i6521622ata1c7773b41e0ca26>