[Live-devel] Handle frame dropping elegantly on clients with limited output bandwidth

Ross Finlayson finlayson at live555.com
Wed Feb 18 00:17:46 PST 2009


>No, because the server's writes to the TCP socket will be non-blocking.
>
>The underlying OS (in its implementation of TCP) will accept the data
>
>immediately, but, if necessary, buffer the outgoing data until it can
>be sent.
>
>If the underlying OS socket buffer is unlimited, the reasoning 
>should be all right. However, according to the manpage of 
><http://www.manpagez.com/man/2/send/>send():
>
>If no messages space is available at the socket to hold the message to be
>transmitted, then send() normally blocks, unless the socket has been
>
>placed in non-blocking I/O mode.

But the TCP socket in this case *has* been place non-blocking mode. 
That was my point.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090218/d3f5fd20/attachment.html>


More information about the live-devel mailing list