From owner-freebsd-net Fri Jun 26 09:50:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08249 for freebsd-net-outgoing; Fri, 26 Jun 1998 09:50:07 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from heron.doc.ic.ac.uk (vhMVCklc93W9msExElerSzEMNJx0NogG@heron.doc.ic.ac.uk [146.169.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA08180 for ; Fri, 26 Jun 1998 09:49:53 -0700 (PDT) (envelope-from njs3@doc.ic.ac.uk) Received: from oak74.doc.ic.ac.uk [146.169.46.74] ([HsSguO7vGdpN8iyFKPlye3eGt7pHXq3X]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0ypbgx-0000GR-00; Fri, 26 Jun 1998 17:49:40 +0100 Received: from njs3 by oak74.doc.ic.ac.uk with local (Exim 1.62 #3) id 0ypbgw-0006R9-00; Fri, 26 Jun 1998 17:49:38 +0100 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Fri, 26 Jun 1998 17:49:38 +0100 In-Reply-To: Bill Fenner "Re: Apparent bug in sendto() with raw sockets" (Jun 26, 8:58am) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Bill Fenner , njs3@doc.ic.ac.uk (Niall Smart) Subject: Re: Apparent bug in sendto() with raw sockets Cc: Julian Elischer , Nate Lawson , freebsd-net@FreeBSD.ORG Message-Id: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Jun 26, 8:58am, Bill Fenner wrote: } Subject: Re: Apparent bug in sendto() with raw sockets > In message you write: > >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. > > Changing the interface from what it currently is is a gratuitous change. No it isn't, its a bug fix, you yourself noted the problem only happened because the code was originally developed on a Sun box. Having one or two of the fields in host byte order while the rest are in network byte order is silly and the only reason to keep it this way is bug compatability, but I'm not so sure thats so important in this case. Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message