[vlc-devel] [PATCH 2/2] chromecast: don't close the client connection

Pierre Ynard linkfanel at yahoo.fr
Thu Oct 29 14:28:40 CET 2020


> > Seems it was designed to expect no timeout
>
> That cannot be achieved with the TCP implementations provided by
> the OSes that VLC runs on. *All* of them will fatally time-out the
> connection if data remains in the send buffer for too long. (Only
> way to avoid this is to write a custom TCP stack, which requires raw
> sockets privileges.)

Can't you at least raise the TCP timeout value on that socket with
setsockopt() and some option? Isn't this just what TCP_USER_TIMEOUT will
do?

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list