summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.111
1 files changed, 10 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index b0d26891..248140b1 100644
--- a/txr.1
+++ b/txr.1
@@ -37924,7 +37924,7 @@ argument. The default value is 16.
.coNP Function @ sock-accept
.synb
-.mets (sock-accept < socket <> [ mode-string ])
+.mets (sock-accept < socket >> [ mode-string <> [ timeout-usec ]])
.syne
.desc
The
@@ -37953,6 +37953,15 @@ similar argument in
It defaults to
.strn r+ .
+If the
+.meta timeout-usec
+argument is specified, it must be a fixnum integer.
+It denotes a timeout period in microseconds.
+If no peer connects for the specified timeout,
+.code sock-accept
+throws an exception of type
+.codn timeout-error .
+
.coNP Variables @, shut-rd @ shut-wr and @ shut-rdwr
.desc
The values of these variables are useful as the second argument to the