Network support for the Lua language
Go to file
unknown 734cc23e1f Fixed inet_pton and a new Winsock UDP bug.
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-28 00:09:30 +08:00
doc Fix udp:setpeername("*") 2012-08-23 19:31:15 -03:00
etc Merge pull request #27 from catwell/pull-noarg 2013-04-17 19:38:21 -07:00
gem Merge branch 'git-sam' into diego-sam-mwild-integration 2012-04-11 14:18:20 -07:00
samples lpr.lua: fix invalid string escape sequence \? 2013-04-17 23:35:56 -04:00
src Fixed inet_pton and a new Winsock UDP bug. 2013-05-28 00:09:30 +08:00
test Fix. Optional IPv6 test 2013-05-27 11:26:35 +04:00
.gitignore Fix Visual Studio 2012 projects 2013-05-27 20:30:06 +08:00
FIX Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
LICENSE Making progress toward a release 2012-04-23 00:18:45 +08:00
linux.cmd Check linux build. 2013-05-25 07:25:02 -03:00
logo.ps Adjusted a few inconsistencies with the manual. 2003-08-16 00:06:04 +00:00
ltn012.wiki fix use of arg in ltn documentation 2013-01-23 19:03:46 +01:00
ltn013.wiki fix use of arg in ltn documentation 2013-01-23 19:03:46 +01:00
Lua51.props Fix Visual Studio 2012 projects 2013-05-27 20:30:06 +08:00
Lua52.props Fix Visual Studio 2012 projects 2013-05-27 20:30:06 +08:00
luasocket-2.1-1.rockspec rockspec for luasocket 2.1 unstable 2013-01-24 15:28:17 -02:00
luasocket.sln Move Visual Studio projects to 2012. 2012-12-10 18:45:05 -02:00
macosx.cmd Fix socket.connect 2013-05-26 15:18:13 +08:00
makefile Add MingW support. 2013-05-25 18:07:38 +08:00
makefile.dist Making progress toward a release 2012-04-23 00:18:45 +08:00
mime.vcxproj Fix Visual Studio 2012 projects 2013-05-27 20:30:06 +08:00
mime.vcxproj.filters Fix Visual Studio 2012 projects 2013-05-27 20:30:06 +08:00
mingw.cmd Add MingW support. 2013-05-25 18:07:38 +08:00
NEW Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
README Making progress toward a release 2012-04-23 00:18:45 +08:00
socket.vcxproj Link only against ws2_32.lib. 2013-05-27 21:58:41 +08:00
socket.vcxproj.filters Fix Visual Studio 2012 projects 2013-05-27 20:30:06 +08:00
TODO Fix ltn12 version. 2012-12-10 15:50:44 -02:00
win32.cmd Added my test command lines. 2013-05-25 18:10:46 +08:00
WISH Couple bug fixes. 2007-03-12 04:08:40 +00:00

This is the LuaSocket 2.1. It has been tested on --[[WinXP--]], Mac OS X,
and --[[Linux--]].  Please use the Lua mailing list to report any bugs 
(or "features") you encounter. 

Have fun,
Diego Nehab.