diff options
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |