[vlc-devel] mjpeg demux and infinite wait.

Sébastien Escudier sebastien-devel at celeos.eu
Mon Mar 16 11:06:18 CET 2009


Quoting Rémi Denis-Courmont <rem at videolan.org>:

> That's not a (VLC) bug, that's a feature of your TCP stack. On Windows,
> unplugging the cable will immediately trigger an ENETDOWN error; on Linux,
> nothing happens. If you're not happy turn TCP keep-alives on system-wide and
> set lower timeouts value via /proc.

actually, to be able to use system socket keep alive, we have to set
SO_KEEPALIVE option.

Would it be possible to add this option with setsockopt in VLC ?

Thanks




More information about the vlc-devel mailing list