[vlc-devel] [PATCH] 1-of-3: vlc-1.1.0 network poll timeout

Frank Enderle frank.enderle at anamica.de
Thu Jul 1 01:12:07 CEST 2010

i just want a possibility to detect a timeout without having to change the system defaults. how this is implemented is not my priority. i just need a solution.. and i'd like to use one whcich is built in vlc so i don't have to patch the source for this purpose.. however changing the system defaults might have an impact on other running applications which also use keepalive sockets. is that that uncommon? 



On Jun 26, 2010, at 16:58, "Rémi Denis-Courmont" <rem at videolan.org> wrote:

> On Saturday 26 June 2010 09:58:24 Frank Enderle, you wrote:
>> well - maybe i'm wrong.. but if i use SO_KEEPALIVE i'd have to configure
>> the system using procfs/sysctl for the timeout. in my case this is not
>> really a problem, so i guess i could use the SO_KEEPALIVE feature, but
>> as a user of libvlc i would like to be able to configure the timeout on
>> a per application base and without root permission.
> It smells like you have a solution looking for a problem rather than a problem 
> looking for a solution. TCP keep-alives do a completely different thing than 
> receive timers.
> -- 
> Rémi Denis-Courmont

More information about the vlc-devel mailing list