From owner-freebsd-bugs Fri Jun 26 06:05:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02822 for freebsd-bugs-outgoing; Fri, 26 Jun 1998 06:05:44 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from heron.doc.ic.ac.uk (nhqVL+RPXJmKHZR8PbMcGl2YtPUTE0DN@heron.doc.ic.ac.uk [146.169.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA02801; Fri, 26 Jun 1998 06:05:33 -0700 (PDT) (envelope-from njs3@doc.ic.ac.uk) Received: from oak67.doc.ic.ac.uk [146.169.33.67] ([eTs3tGkng938xwU5Pn53Xecw1dgXvdIc]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0ypYBD-0007Tx-00; Fri, 26 Jun 1998 14:04:39 +0100 Received: from njs3 by oak67.doc.ic.ac.uk with local (Exim 1.62 #3) id 0ypYBC-0005Qv-00; Fri, 26 Jun 1998 14:04:38 +0100 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Fri, 26 Jun 1998 14:04:38 +0100 In-Reply-To: Bill Fenner "Re: Apparent bug in sendto() with raw sockets" (Jun 25, 11:40am) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Bill Fenner , Julian Elischer Subject: Re: Apparent bug in sendto() with raw sockets Cc: Nate Lawson , freebsd-bugs@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Message-Id: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Jun 25, 11:40am, Bill Fenner wrote: } Subject: Re: Apparent bug in sendto() with raw sockets > In message you w > interface, which requires length and offset in host order. AFAIK, > this original implementation happened on suns, which is why nobody > noticed at the time. We are compatible with this original > implementation. OpenBSD and Linux chose to change the semantics > to the ones that are less surprising but not backwards compatible. I think its more important to be correct in this area, raw sockets programming can be tricky enough without what will seem to the user like gratuitous changes. If Linux and OpenBSD have done it, thats all the more reason to go for it... $2c Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message