Browse Source

doc/protocols/tcp: fix units of listen_timeout option value, from microseconds to milliseconds

s->listen_timeout is passed to ff_listen_bind(), which accepts a timeout
value expressed in milliseconds.

The unit was incorrectly set in 1b4da43ce0.
(cherry picked from commit 6db20926c3)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4.8
Stefano Sabatini Michael Niedermayer 11 years ago
parent
commit
99de009e97
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      doc/protocols.texi

+ 2
- 2
doc/protocols.texi View File

@@ -1081,8 +1081,8 @@ Set raise error timeout, expressed in microseconds.
This option is only relevant in read mode: if no data arrived in more
than this time interval, raise error.

@item listen_timeout=@var{microseconds}
Set listen timeout, expressed in microseconds.
@item listen_timeout=@var{milliseconds}
Set listen timeout, expressed in milliseconds.
@end table

The following example shows how to setup a listening TCP connection


Loading…
Cancel
Save