From owner-freebsd-net Tue May 9 23:35:24 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EF7A37BE0F for ; Tue, 9 May 2000 23:35:15 -0700 (PDT) (envelope-from justin@walkeridsl1.apple.com) Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out1.apple.com (8.9.3/8.9.3) with ESMTP id XAA15067 for ; Tue, 9 May 2000 23:35:15 -0700 (PDT) Received: from scv3.apple.com (scv3.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 2.0.15) with ESMTP id for ; Tue, 09 May 2000 23:35:13 -0700 Received: from walkeridsl1.apple.com (walkeridsl1.apple.com [17.219.158.66]) by scv3.apple.com (8.9.3/8.9.3) with ESMTP id XAA18444 for ; Tue, 9 May 2000 23:35:13 -0700 (PDT) Received: by walkeridsl1.apple.com (8.9.1/8.9.1) id XAA00693 for freebsd-net@freebsd.org; Tue, 9 May 2000 23:35:11 -0700 (PDT) Message-Id: <200005100635.XAA00693@walkeridsl1.apple.com> To: freebsd-net@freebsd.org Subject: SO_RCVTIMEO values Date: Tue, 9 May 2000 23:35:09 -0700 From: "Justin C. Walker" Reply-To: justin@apple.com X-Mailer: by Apple MailViewer (2.105.dev) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, all, I pawed through the archives looking for 'SO_RCVTIMEO' and 'sb_timeo', and couldn't find anything of interest (a lot of hits on mail from folks at 'sb.net', tho :-}). Currently, the sockbuf struct has a 'short' (sb_timeo) to hold a timeout value, which, given the definition of SO_RCVTIMEO, works out to about 227 ticks (for us), which isn't that long. A few of my 'customers' are grousing about this, so I thought I'd ask. Is there a reason to keep this value as a short? There's the obvious ones of binary compatibility (for kernel plug-ins, at least), and "that's the way it's always been done", but I don't see any good ones. I'm interested in what might have transpired in the past, if anyone has brought this up before (it's mentioned in Stevens' "Illustrated, V2" book). Thanks, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Manager, CoreOS Networking | Men are from Earth. Apple Computer, Inc. | Women are from Earth. 2 Infinite Loop | Deal with it. Cupertino, CA 95014 | *-------------------------------------*-------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message