<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] Handle frame dropping elegantly on
client</title></head><body>
<blockquote type="cite" cite>
<blockquote><tt>No, because the server's writes to the TCP socket will
be non-blocking.<br>
<br>
The underlying OS (in its implementation of TCP) will accept the
data<br>
<br>
immediately, but, if necessary, buffer the outgoing data until it
can<br>
be sent.</tt><br>
</blockquote>
</blockquote>
<blockquote type="cite" cite>If the underlying OS socket buffer is
unlimited, the reasoning should be all right. However, according to
the manpage of <a
href="http://www.manpagez.com/man/2/send/">send()</a>:<br>
<blockquote><tt>If no messages space is available at the socket to
hold the message to be<br>
transmitted, then<b> send</b>() normally<b> blocks</b>, unless the
socket has been<br>
<br>
placed in non-blocking I/O mode.</tt></blockquote>
</blockquote>
<div><br></div>
<div>But the TCP socket in this case *has* been place non-blocking
mode. That was my point.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>