From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Fri, 06 Feb 2004 16:58:38 +0000 Subject: Re: [PATCH] convert udevsend/udevd to DGRAM and single-threaded Message-Id: <20040206085838.A6021@beaverton.ibm.com> List-Id: References: <40232F58.3040404@sympatico.ca> In-Reply-To: <40232F58.3040404@sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Feb 06, 2004 at 12:27:55PM +0100, Kay Sievers wrote: > On Fri, Feb 06, 2004 at 01:08:24AM -0500, Chris Friesen wrote: > > This patch applies to current bk trees, and does the following: > > > > 1) Switch to DGRAM sockets rather than STREAM. This simplifies things > > as mentioned in the previous message. > - ssock = socket(AF_LOCAL, SOCK_STREAM, 0); > + ssock = socket(AF_LOCAL, SOCK_DGRAM, 0); How are dropped packets handled? Should you use SOCK_RDM? (I've never used it, and didn't even know it existed until just reading man socket). -- Patrick Mansfield ------------------------------------------------------- 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