From aa7c88df50eeec6829cd8fc2d397693a0b0be1b2 Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Thu, 13 Sep 2012 03:43:29 +0300 Subject: [PATCH] Document tcp proto 'timeout' parameter behavior Signed-off-by: Michael Niedermayer --- doc/protocols.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 0ad985c20a..e7904590d2 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -578,6 +578,11 @@ tcp://@var{hostname}:@var{port}[?@var{options}] @item listen Listen for an incoming connection +@item timeout=@var{microseconds} +In read mode: if no data arrived in more than this time interval, raise error. +In write mode: if socket cannot be written in more than this time interval, raise error. +This also sets timeout on TCP connection establishing. + @example ffmpeg -i @var{input} -f @var{format} tcp://@var{hostname}:@var{port}?listen ffplay tcp://@var{hostname}:@var{port}