Skip to content

Commit a896159

Browse files
authored
Add measuring unit for timeout (#2711)
Fixes #2691
1 parent b2d0c0c commit a896159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/reference/reference_lua/socket.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ the function invocations will look like ``sock:function_name(...)``.
154154

155155
:param string host: URL or IP address
156156
:param number port: port number
157-
:param number timeout: timeout
157+
:param number timeout: number of seconds to wait
158158
:return: (if error) {nil, error-message-string}. (if no error) a new socket object.
159159
:rtype: socket object, which may be viewed as a table
160160

0 commit comments

Comments
 (0)