From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: doc getsockopt, setsockopt Date: 02 Oct 2005 19:09:03 -0400 Message-ID: References: <87k6h0g9qd.fsf@zip.com.au> <87k6gyi29b.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128296618 22797 80.91.229.2 (2 Oct 2005 23:43:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2005 23:43:38 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Oct 03 01:43:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMDTW-0003Yb-PF for guile-devel@m.gmane.org; Mon, 03 Oct 2005 01:42:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMDTW-000374-41 for guile-devel@m.gmane.org; Sun, 02 Oct 2005 19:42:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMDP4-0001ZJ-ED for guile-devel@gnu.org; Sun, 02 Oct 2005 19:37:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMDOz-0001Wj-PV for guile-devel@gnu.org; Sun, 02 Oct 2005 19:37:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMDOz-000163-Kx for guile-devel@gnu.org; Sun, 02 Oct 2005 19:37:53 -0400 Original-Received: from [192.1.100.210] (helo=fnord.ir.bbn.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EMCx6-000719-MA for guile-devel@gnu.org; Sun, 02 Oct 2005 19:09:04 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id B45B15453; Sun, 2 Oct 2005 19:09:03 -0400 (EDT) Original-To: guile-devel@gnu.org In-Reply-To: <87k6gyi29b.fsf@zip.com.au> Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5251 Archived-At: Kevin Ryde writes: > Greg Troxel writes: > > I'd noticed in the past the gnu/linux "man 5 protocols" says to use > /etc/protocols instead of numbers like IPPROTO, but what posix says > must trump that. I think getprotobyname is supposed to return IANA-allocated protocol numbers, so while 'posix rulz' is a great attitude and one I share, there's no real conflict. > > NetBSD's Linux compatibility code indicates that SOL_IP is 0, but has > > a comment that these values can vary by architecture > > That should be ok, we don't care about the actual values as long as > the constants are right. True; I was just trying to point out the complexity I found in case it mattered later. > Do you need to know about host vs network byte order to get it > through? That would be something to note. Yes, but I think it's the same as all other bind/etc. calls. I just pass the result of (define *ssp-addr* (inet-aton "224.0.x.y")) ;not registered so it's host order, like all the other calls. Docs for bind, connect and send don't mention this though. -- Greg Troxel _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel