Commit 6db20926 authored by Stefano Sabatini's avatar Stefano Sabatini

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 1b4da43c.
parent 2af260e3
...@@ -1081,8 +1081,8 @@ Set raise error timeout, expressed in microseconds. ...@@ -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 This option is only relevant in read mode: if no data arrived in more
than this time interval, raise error. than this time interval, raise error.
@item listen_timeout=@var{microseconds} @item listen_timeout=@var{milliseconds}
Set listen timeout, expressed in microseconds. Set listen timeout, expressed in milliseconds.
@end table @end table
The following example shows how to setup a listening TCP connection The following example shows how to setup a listening TCP connection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment