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

Alexandre Janniaux ajanni at videolabs.io
Thu Oct 29 16:51:44 CET 2020


Hi,

On Thu, Oct 29, 2020 at 05:33:43PM +0200, Rémi Denis-Courmont wrote:
> Le torstaina 29. lokakuuta 2020, 17.10.04 EET Alexandre Janniaux a écrit :
> > Hi,
> >
> > Linux based seems to expose the keepalive and the timeout socket
> > options without any right restriction. However, you need the
> > admin right whenever you want to change the default value,
> > but on linux it would probably not even be the case if you have
> > your own network namespace (I haven't checked though since that
> > is not relevant for this discussion).
> >
> > iOS manual doesn't seem to indicate support for timeout, but has
> > support for keepalive too.
> > https://developer.apple.com/library/archive/documentation/System/Conceptual/
> > ManPages_iPhoneOS/man2/setsockopt.2.html
> >
> > On the Windows side, same story, there doesn't seem to be support
> > for TCP user timeout but you can enable local keepalive with the
> > setsockopt without rights. If you have the correct rights, you can
> > setup the default properties in the registry but we don't need this.
>
> Repeating myself, but I don't think keep-alives help in any way here.

I read you the first time. :)

I was talking about the «setting up timeout in a portable manner»
thread as a survey answer to your question, but don't imply it's
solving something else.

Regards,
--
Alexandre Janniaux
Videolabs


More information about the vlc-devel mailing list