Re: Will AF_UNIX drop packets ever?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David S. Miller wrote:
   From: "H. Peter Anvin" <hpa@zytor.com>
   Date: 5 Mar 2003 13:24:58 -0800

   Question... I have heard conflicting info if (AF_UNIX, SOCK_DGRAM)
   sockets will drop packets or not.  I would appreciate a conclusive
   answer for the Linux kernel specifically.  Alternatively, is (AF_UNIX,
   SOCK_SEQPACKET) implemented in Linux?

If sendmsg returns no errors, we reliably send the data and
do not drop it.
Cool. I needed an IPC which preserve record boundaries, and it just seems pointless to encapsulate the packets into a stream just to have them unencapsulated at the end -- especially since it means the read needs multiple system calls.

We don't have AF_UNIX/SEQPACKET, but we do have AF_UNIX/STREAM.
Right, of course.

Thanks,

	-hpa

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux