diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-04-11 15:09:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-04-11 15:09:44 +0000 |
commit | 1e3f94aba1c47b689546ae8ac2e4ba6b1f1774c2 (patch) | |
tree | 71ebfb14c6045af1d0e5ee6a507fa67bcfe721e4 /doc/s6-tcpserver4-socketbinder.html | |
parent | dfaa5da1f7e07903480a853a061e2221c532d8b9 (diff) | |
download | s6-networking-1e3f94aba1c47b689546ae8ac2e4ba6b1f1774c2.tar.xz |
Add -B (blocking) option to s6-tcpserver?-socketbinder
Diffstat (limited to 'doc/s6-tcpserver4-socketbinder.html')
-rw-r--r-- | doc/s6-tcpserver4-socketbinder.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/s6-tcpserver4-socketbinder.html b/doc/s6-tcpserver4-socketbinder.html index 2345f2f..1e86e6d 100644 --- a/doc/s6-tcpserver4-socketbinder.html +++ b/doc/s6-tcpserver4-socketbinder.html @@ -26,7 +26,7 @@ socket to an IPv4 address and port, then executes a program. <h2> Interface </h2> <pre> - s6-tcpserver4-socketbinder [ -d | -D ] [ -b <em>backlog</em> ] [ -M | -m ] <em>ip</em> <em>port</em> <em>prog...</em> + s6-tcpserver4-socketbinder [ -d | -D ] [ -b <em>backlog</em> ] [ -M | -m ] [ -B ] <em>ip</em> <em>port</em> <em>prog...</em> </pre> <ul> @@ -57,12 +57,13 @@ listening</strong>. </li> that by default UDP sockets are not connection-mode, and <tt>listen()</tt> will fail - so you should always give the <tt>-b0</tt> option to s6-tcpserver4-socketbinder along with <tt>-m</tt>. </li> + <li> <tt>-B</tt> : create a blocking socket. Default is non-blocking. </li> </ul> <h2> Notes </h2> <ul> - <li> The socket is provided <strong>non-blocking</strong>. </li> + <li> The socket is provided <strong>non-blocking by default</strong>. </li> <li> s6-tcpserver4-socketbinder is part of a set of basic blocks used to build a flexible TCP/IPv4 super-server. It normally should be given a command line crafted to make it execute into |