From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Friesen Date: Thu, 05 Feb 2004 01:24:04 +0000 Subject: Re: [PATCH] convert udevsend/udevd to using datagram sockets Message-Id: <40219B34.7080406@sympatico.ca> List-Id: References: <40209893.8080109@sympatico.ca> In-Reply-To: <40209893.8080109@sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Mike Waychison wrote: > The addrlen parameter should still be sizeof(saddr), regarless of the > contents of the abstract namespace address. The same would go for the > sendto command. Do you have any definitive references for this? I don't have any references at home, but this style is all over the web. If you give it the full length, then you waste time passing a bunch of zeros to the kernel and then hashing over them. As long as the length is the same on both sides, it should work just fine, no? Chris ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel