From owner-freebsd-net Fri Mar 2 8:38:29 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 9514B37B718 for ; Fri, 2 Mar 2001 08:38:27 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id LAA14213; Fri, 2 Mar 2001 11:38:17 -0500 (EST) (envelope-from wollman) Date: Fri, 2 Mar 2001 11:38:17 -0500 (EST) From: Garrett Wollman Message-Id: <200103021638.LAA14213@khavrinen.lcs.mit.edu> To: "Jonathan Graehl" Cc: "Freebsd-Net" Subject: safety from EINTR In-Reply-To: References: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > If a UDP socket selects readable, am I assured that the next read > call will not block? Not in the general case. If you can be certain that there is no other process with a file handle on the same socket, and considering blocking only due to socket buffer exhaustion, then that assumption *should* be valid. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message