diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-17 00:17:46 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-17 00:17:46 +0000 |
| commit | 076451c75336b30e6152bd5c02f355db39107f7d (patch) | |
| tree | 785a6c71ca1e5246f2ce09a9b91f98eb902ac2a0 /src/inet.h | |
| parent | 89f3ecf7820857f91c4039536d2bbe3cf12d5f95 (diff) | |
| download | luasocket-076451c75336b30e6152bd5c02f355db39107f7d.tar.gz luasocket-076451c75336b30e6152bd5c02f355db39107f7d.tar.bz2 luasocket-076451c75336b30e6152bd5c02f355db39107f7d.zip | |
Tested in windows. Still needs more testing, but progress has been made.
Diffstat (limited to 'src/inet.h')
| -rw-r--r-- | src/inet.h | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -19,6 +19,10 @@ | |||
| 19 | #include <lua.h> | 19 | #include <lua.h> |
| 20 | #include "socket.h" | 20 | #include "socket.h" |
| 21 | 21 | ||
| 22 | #ifdef WIN32 | ||
| 23 | #define INET_ATON | ||
| 24 | #endif | ||
| 25 | |||
| 22 | void inet_open(lua_State *L); | 26 | void inet_open(lua_State *L); |
| 23 | const char *inet_tryconnect(p_sock ps, const char *address, | 27 | const char *inet_tryconnect(p_sock ps, const char *address, |
| 24 | unsigned short port); | 28 | unsigned short port); |
