Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-05-28 | Typo fixed. | Diego Nehab | 1 | -1/+1 | |
2013-05-28 | Fixed inet_pton and a new Winsock UDP bug. | unknown | 4 | -69/+84 | |
inet_pton was copying the entire sockaddr_in struct, rather than just the sin_addr field... I am a bit unsure about the UDP fix, because it may affect TCP as well. On UDP sockets, when a sendto fails, the next receive/receivefrom fails with CONNRESET. I changed sock_recv/sock_recvfrom in wsocket.c to skip the CONNRESET from the recv/recvfrom, hoping that if the socket is TCP, sock_waitfd will get the CONNRESET again. The tests pass, but this should be tested more thoroughly. | |||||
2013-05-27 | Fix wrong usage of inet_pton. | unknown | 1 | -2/+2 | |
2013-05-27 | Link only against ws2_32.lib. | unknown | 2 | -7/+7 | |
2013-05-27 | Simplifying getaddrinfo treatment. | Diego Nehab | 1 | -32/+18 | |
2013-05-27 | Fix Visual Studio 2012 projects | unknown | 10 | -56/+316 | |
2013-05-27 | Fix. Optional IPv6 test | moteus | 1 | -2/+8 | |
2013-05-27 | Fix. setsockname fails with "*" as host. | moteus | 3 | -1/+9 | |
Add. test_bind.lua | |||||
2013-05-27 | Fix. getaddrinfo returns garbage as address on Windows. | moteus | 2 | -3/+33 | |
Add. test_getaddrinfo.lua | |||||
2013-05-26 | No need for build script: makefile target instead. | Diego Nehab | 1 | -9/+0 | |
2013-05-26 | Merge tryconnect6 into inet_tryconnect. | Diego Nehab | 4 | -16/+29 | |
2013-05-26 | Fix socket.connect | Diego Nehab | 2 | -3/+19 | |
Previous implementation was not making sure the socket had the same family as the addr returned by getaddrinfo. So instead of "connection refused", we could get "invalid argument", which was our fault. | |||||
2013-05-25 | Check linux build. | Diego Nehab | 2 | -3/+3 | |
2013-05-25 | Added my test command lines. | Diego Nehab | 4 | -3/+14 | |
2013-05-25 | Add MingW support. | unknown | 7 | -103/+157 | |
2013-05-25 | Change Mac OS Lua directory | Diego Nehab | 1 | -1/+1 | |
2013-04-17 | lpr.lua: fix invalid string escape sequence \? | David Manura | 1 | -1/+1 | |
Not valid in 5.2 and luajit. | |||||
2013-04-09 | Updated IPV6_V6ONLY to match header files on Windows. | Paul Kulchenko | 1 | -1/+1 | |
2013-04-07 | Added inet_pton/inet_ntop for MinGW on Windows; compiles with Lua52. | Paul Kulchenko | 3 | -0/+65 | |
2013-02-25 | Use the length operator (#) instead of table.getn. | Gerardo Marset | 11 | -19/+19 | |
table.getn was deprecated in Lua 5.1 in favor of #, the length operator. See: http://www.lua.org/manual/5.1/manual.html#7.2 |