diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2011-06-15 00:51:02 +0200 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:33:34 -0700 |
commit | 594f826aa129f8b497c37fe08429eff5651dac9d (patch) | |
tree | 85b80f9cde7bae3b32742c93f127de87b9e4dc98 /src/inet.h | |
parent | 5874d47f550a2f278ca35ccda96d49ccf0ca7e36 (diff) | |
download | luasocket-594f826aa129f8b497c37fe08429eff5651dac9d.tar.gz luasocket-594f826aa129f8b497c37fe08429eff5651dac9d.tar.bz2 luasocket-594f826aa129f8b497c37fe08429eff5651dac9d.zip |
Add support for connecting to IPv6 hosts
Diffstat (limited to 'src/inet.h')
-rw-r--r-- | src/inet.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ | |||
25 | int inet_open(lua_State *L); | 25 | int inet_open(lua_State *L); |
26 | 26 | ||
27 | const char *inet_trycreate(p_socket ps, int domain, int type); | 27 | const char *inet_trycreate(p_socket ps, int domain, int type); |
28 | const char *inet_tryconnect(p_socket ps, const char *address, | 28 | const char *inet_tryconnect(p_socket ps, const char *address, |
29 | unsigned short port, p_timeout tm); | 29 | const char *serv, p_timeout tm, struct addrinfo *connecthints); |
30 | const char *inet_trybind(p_socket ps, const char *address, const char *serv, | 30 | const char *inet_trybind(p_socket ps, const char *address, const char *serv, |
31 | struct addrinfo *bindhints); | 31 | struct addrinfo *bindhints); |
32 | 32 | ||