From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 15:32:01 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E785316A4BF for ; Mon, 25 Aug 2003 15:32:01 -0700 (PDT) Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6750C43F93 for ; Mon, 25 Aug 2003 15:32:00 -0700 (PDT) (envelope-from Vijay.Singh@nokia.com) Received: from esvir01nok.ntc.nokia.com (esvir01nokt.ntc.nokia.com [172.21.143.33])h7PMVuB10677 for ; Tue, 26 Aug 2003 01:31:58 +0300 (EET DST) Received: from esebh004.NOE.Nokia.com (unverified) by esvir01nok.ntc.nokia.com for ; Tue, 26 Aug 2003 01:31:56 +0300 Received: from daebh001.NOE.Nokia.com ([172.18.242.231]) by esebh004.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139); Tue, 26 Aug 2003 01:31:55 +0300 Received: from mvebe001.NOE.Nokia.com ([172.18.140.37]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139); Mon, 25 Aug 2003 15:31:51 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 25 Aug 2003 15:31:51 -0700 Message-ID: <4D7B558499107545BB45044C63822DDE02C090EA@mvebe001.americas.nokia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: replacing select with kevent Thread-Index: AcNrWK10dgLTTOOjTBmATYlql240+Q== From: To: X-OriginalArrivalTime: 25 Aug 2003 22:31:52.0217 (UTC) FILETIME=[AE4E5890:01C36B58] Subject: replacing select with kevent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 22:32:02 -0000 Hello, is there a howto on this subject? Specifically I am trying to = debug a client-server code, with an open TCP socket between the two. If = the client exits is the server informed through an event? Should the = event flags be checked for EV_EOF or EV_ERROR? Thanks, Vijay Singh Nokia Networks 1-650-743-9632