moonbridge
diff reference.txt @ 102:51ff6ad11677
Added missing freeaddrinfo() call to moonbridge_io.tcpconnect(...) function; Updated documentation regarding blocking DNS lookups of tcpconnect(...)
author | jbe |
---|---|
date | Wed Apr 08 05:26:15 2015 +0200 (2015-04-08) |
parents | c9ffbdac1337 |
children | 8fce76ef321f |
line diff
1.1 --- a/reference.txt Wed Apr 08 05:12:19 2015 +0200 1.2 +++ b/reference.txt Wed Apr 08 05:26:15 2015 +0200 1.3 @@ -248,6 +248,9 @@ 1.4 Same as moonbridge_io.tcpconnect(hostname, port), except that this function 1.5 does not block and immediately returns a socket object. 1.6 1.7 +Note: The current implementation still blocks during the DNS lookup. Use a 1.8 +numeric IP address as hostname to be truly nonblocking. 1.9 + 1.10 In case of an I/O error, nil (as first return value) plus an error message (as 1.11 second result value) may be returned. However, connection errors may also be 1.12 reported on first read or write on the socket.