Re: Unclear semantics of "sendfile"

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

 



From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Fri, 22 Sep 2006 13:38:58 -0700

> Partial send is not an error, it could be caused by premature
> close from the other end as well. Therefore, the application should
> not expect errno to be set. The application needs to do another
> write/send/sendfile to force continuation and error detection.

Correct.

Any send operation on a socket can give partial sends, and
every application has to write data sending loops which handle
partial sends properly.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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