Re: TIOCOUTQ, SO_SNDBUF

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

 



On Wed, Dec 20, 2000 at 09:11:27PM +0100, Olaf Titz wrote:

> What I mean is: I want to allocate an application buffer which keeps
> data until I can be sure, by way of a checkpointing mechanism
> implemented by the application, that it has been delivered to the
> other end. What I want to know is how big this buffer should be.

A point of qualification:  A write(2) to a socket returns
when the data has been written to the socket send buffer.
It can't tell you whether the remote program (or machine,
even) has receieved the data.

This may or may not help. :)

Regards,

Nick Dronen
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[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