From owner-freebsd-questions Sun Feb 16 12:39:38 2003 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 2394137B401 for ; Sun, 16 Feb 2003 12:39:37 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id F32BF43F75 for ; Sun, 16 Feb 2003 12:39:35 -0800 (PST) (envelope-from mwm-dated-1045859974.5bf7b3@mired.org) Received: (qmail 26083 invoked from network); 16 Feb 2003 20:39:34 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 16 Feb 2003 20:39:34 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15951.63237.512422.66034@guru.mired.org> Date: Sun, 16 Feb 2003 14:39:33 -0600 To: alex@dynaweb.ru Cc: freebsd-questions@FreeBSD.org Subject: Re: how to define timeout for blocking soket operations? In-Reply-To: <3E4F70FE.20509@dynaweb.ru> References: <3E4F70FE.20509@dynaweb.ru> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.69 (Count Fleet) 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 In <3E4F70FE.20509@dynaweb.ru>, Alex typed: > I can use non-blocking calls and nanosleeps but tis ugly and sometimes > doesn't work properly, especially with UDP sockets. > Can anybody help me? > Or at least to point the docs if available. man select. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message