diff options
Diffstat (limited to 'manual/ranch_tcp.md')
-rw-r--r-- | manual/ranch_tcp.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manual/ranch_tcp.md b/manual/ranch_tcp.md index 0e27e11..2967392 100644 --- a/manual/ranch_tcp.md +++ b/manual/ranch_tcp.md @@ -11,14 +11,14 @@ the threads stuck indefinitely. Types ----- -### opts() = [{backlog, non_neg_integer()} +### opt() = {backlog, non_neg_integer()} | {ip, inet:ip_address()} | {linger, {boolean(), non_neg_integer()}} | {nodelay, boolean()} | {port, inet:port_number()} | {raw, non_neg_integer(), non_neg_integer(), non_neg_integer() | binary()} | {send_timeout, timeout()} - | {send_timeout_close, boolean()}] + | {send_timeout_close, boolean()} > Listen options. > @@ -26,6 +26,10 @@ Types > be set on the socket, but only the options that should be > set independently of protocol implementation. +### opts() = [opt()] + +> Listen options. + Option descriptions ------------------- |