From owner-freebsd-stable@FreeBSD.ORG Thu Feb 7 19:17:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8704616A419 for ; Thu, 7 Feb 2008 19:17:21 +0000 (UTC) (envelope-from myj@nyct.net) Received: from bsd4.nyct.net (mail-out8.nyct.net [216.139.141.8]) by mx1.freebsd.org (Postfix) with ESMTP id 33FA513C4F7 for ; Thu, 7 Feb 2008 19:17:20 +0000 (UTC) (envelope-from myj@nyct.net) Received: from bsd4.nyct.net (mail-out8.nyct.net [216.139.141.8]) by bsd4.nyct.net (8.13.4/8.13.4) with ESMTP id m17IsNqg078959 for ; Thu, 7 Feb 2008 13:54:24 -0500 (EST) (envelope-from myj@nyct.net) Received: from localhost (myj@localhost) by bsd4.nyct.net (8.13.4/8.13.1/Submit) with ESMTP id m17IsNpV078955 for ; Thu, 7 Feb 2008 13:54:23 -0500 (EST) (envelope-from myj@nyct.net) X-Authentication-Warning: bsd4.nyct.net: myj owned process doing -bs Date: Thu, 7 Feb 2008 13:54:23 -0500 (EST) From: Paul To: freebsd-stable@freebsd.org Message-ID: <20080207133127.T50745@bsd4.nyct.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: kevent on UDP sockets X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 19:17:21 -0000 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 ? Thanks, P. Paul Sandys network operations manager http://www.nyct.net/ 212.293.2620