Network support for the Lua language
Go to file
moteus 3520727490 Change. socket:setfd() set fd to invalid value.
Change. socket:setfd return previews `fd` value.
Change. socket.tcp and socket.udp can create object based on `fd`.

Add. test setfd
```lua
  ---- server
  cli = assert(srv:accept())
  -- test if worker thread take ownership and clear `fd`
  if run_worker_thread(cli:getfd()) then cli:setfd() end
  cli:close()

  ---- worker
  -- wrap raw `fd` to socket object
  local sock = socket.tcp(..., "client")
  -- do work with sock object
```
2013-06-10 12:05:34 +04: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 Change. socket:setfd() set fd to invalid value. 2013-06-10 12:05:34 +04:00
test Change. socket:setfd() set fd to invalid value. 2013-06-10 12:05:34 +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 Change VC12 project to no LUA_COMPAT_MODUULE 2013-05-29 17:19:24 +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 Leaving if in src/ but out of build for now. 2013-05-30 16:20:34 +08:00
socket.vcxproj Change VC12 project to no LUA_COMPAT_MODUULE 2013-05-29 17:19:24 +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 Windows 7, Mac OS X,
and Linux. 

Please use the project page at GitHub 

    https://github.com/diegonehab/luasocket

to file bug reports or propose changes. 

Have fun,
Diego Nehab.