From owner-freebsd-questions Tue Nov 6 8: 7:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns.chatpr.org (ns.chatpr.org [200.50.26.254]) by hub.freebsd.org (Postfix) with SMTP id BE88E37B417 for ; Tue, 6 Nov 2001 08:07:26 -0800 (PST) Received: (qmail 54214 invoked from network); 6 Nov 2001 16:07:55 -0000 Received: from unknown (HELO elec) (66.50.34.225) by ns.chatpr.org with SMTP; 6 Nov 2001 16:07:55 -0000 From: "Abel Alejandro" To: Subject: About kqueue and EV_EOF Date: Tue, 6 Nov 2001 12:01:38 -0400 Message-ID: <000a01c166dc$53eb6aa0$0401a8c0@elec> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C166BA.CCD9CAA0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C166BA.CCD9CAA0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello, I am using the kqueue mechanism for handling a tcp server. Everything works alright except for one thing, EV_EOF is triggered only when a remote user shutdown the sockets cleanly, otherwise if an power outage happens or the process terminates without cleaning the sockets, I can set a timeout on kevent, but if I am using multiple fd's, how do I know which of em timed out? If someone could point me to a software that uses kevent and has a timeout mechanism, I will appreciate it.. Thanks. ------=_NextPart_000_000B_01C166BA.CCD9CAA0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hello, I am using the kqueue mechanism for handling a tcp server. = Everything works alright except for one thing, EV_EOF is triggered only when a remote = user shutdown the sockets cleanly, otherwise if an power outage happens or = the process terminates without cleaning the sockets, I can set a timeout on = kevent, but if I am using multiple fd’s, how do I know which of em timed out? If = someone could point me to a software that uses kevent and = has a timeout mechanism, I will appreciate it..

 

 

Thanks.

 

------=_NextPart_000_000B_01C166BA.CCD9CAA0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message