moonbridge
diff reference.txt @ 98:acaa85256c4b
Added moonbridge_io.tcpconnect(...) function
author | jbe |
---|---|
date | Wed Apr 08 04:00:41 2015 +0200 (2015-04-08) |
parents | de3982f17d05 |
children | c9ffbdac1337 |
line diff
1.1 --- a/reference.txt Wed Apr 08 01:35:06 2015 +0200 1.2 +++ b/reference.txt Wed Apr 08 04:00:41 2015 +0200 1.3 @@ -229,6 +229,21 @@ 1.4 1.5 1.6 1.7 +I/O library 1.8 +----------- 1.9 + 1.10 +The Moonbridge Network Server for Lua Applications comes with its own I/O 1.11 +library to support blocking as well as nonblocking I/O operations. 1.12 + 1.13 + 1.14 +### moonbridge_io.tcpconnect(hostname, port) 1.15 + 1.16 +Tries to open a TCP connection with the given host and TCP port number. Returns 1.17 +a socket object on success (methods see above), or nil (as first return value) 1.18 +plus an error message (as second return value) in case of error. 1.19 + 1.20 + 1.21 + 1.22 HTTP module 1.23 ----------- 1.24