Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove warnings and fix makefile for Win32. | Diego Nehab | 2012-12-11 | 1 | -6/+6 |
| | |||||
* | Fix socket_accept usage to depend on family. | Diego Nehab | 2012-12-11 | 1 | -1/+15 |
| | |||||
* | Fix udp:setpeername("*") | Diego Nehab | 2012-08-23 | 1 | -12/+33 |
| | | | | | | | | | | | | | | There seems to be a curious difference between MacOS and Linux and I am not sure if this is documented. When you break a "connection" on Mac OS, you only eliminate the peer association, but the local address remains bound. On Linux, breaking a "connection" eliminates the binding to the local address. Have you guys ever come accross this? Another irritating difference is that connect() returns the error EAFNOSUPPORT on Mac OS. I am going to ignore all errors when the reason for calling connect() is simply to break the "connection". | ||||
* | socket.connect now implemented in the C core | Sam Roberts | 2012-05-10 | 1 | -12/+42 |
| | | | | | | | This avoid socket.lua duplicating the iteration over the results of getaddrinfo(). Some problems with the C implementation not initializing sockets or the luasocket family have also been fixed, and error reporting made more robust. | ||||
* | Add a getnameinfo() wrapper | Florian Zeitz | 2012-05-05 | 1 | -0/+48 |
| | | | | | | | | | This wrapper takes a domain name or an IP as first argument and a service name or port as second argument. Either argument may be nil. It returns a list of names (always only one in the IP case) and a service name. | ||||
* | Fixed getpeername/getsockname situation | Diego Nehab | 2012-04-24 | 1 | -43/+74 |
| | | | | | | | - Added IPv6 support to getsockname - Simplified getpeername implementation - Added family to return of getsockname and getpeername and added modification to the manual to describe | ||||
* | Making progress toward a release | Diego Nehab | 2012-04-23 | 1 | -4/+2 |
| | | | | | | | | | | Documented headers.lua Update copyright date everywhere Remove RCSID from files Move version back to 2.1 rather than 2.1.1 Fixed url package to support ipv6 hosts Changed "domain" to "family" in tcp and udp structures Implemented getfamily methods | ||||
* | inet: Honor the strict aliasing rule | Florian Zeitz | 2012-04-11 | 1 | -12/+14 |
| | |||||
* | Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs ↵ | Liam Devine | 2012-04-11 | 1 | -1/+1 |
| | | | | sorting out to take maybe a version number and also the local paths need removing. | ||||
* | inet: return more useful errors | Paul Aurich | 2012-04-11 | 1 | -2/+3 |
| | |||||
* | inet: refactor getpeername to allocate the struct on the stack | Paul Aurich | 2012-04-11 | 1 | -13/+23 |
| | |||||
* | Fix getpeername to work with IPv6 addresses | Florian Zeitz | 2012-04-11 | 1 | -5/+18 |
| | |||||
* | Add support for connecting to IPv6 hosts | Florian Zeitz | 2012-04-11 | 1 | -18/+24 |
| | |||||
* | dns.getaddrinfo: Return proper error messages | Florian Zeitz | 2012-04-11 | 1 | -1/+1 |
| | |||||
* | dns: Rename toip6() to getaddrinfo() since the old name is misleading | Florian Zeitz | 2012-04-11 | 1 | -3/+3 |
| | |||||
* | Rework binding IPv6 sockets by harmonizing it with the IPv4 variant | Florian Zeitz | 2012-04-11 | 1 | -24/+34 |
| | |||||
* | Preliminary IPv6 support for v2.1 | Diego Nehab | 2012-04-11 | 1 | -3/+49 |
| | |||||
* | Saving before big changes to support IPv6. | Diego Nehab | 2011-05-25 | 1 | -2/+1 |
| | |||||
* | Before compiling on Windows. | Diego Nehab | 2005-10-07 | 1 | -20/+20 |
| | |||||
* | Almost ready to release. | Diego Nehab | 2005-09-29 | 1 | -2/+2 |
| | |||||
* | Working on the manual. | Diego Nehab | 2005-06-14 | 1 | -10/+14 |
| | |||||
* | Forward server working on Mac OS X... | Diego Nehab | 2005-02-08 | 1 | -1/+0 |
| | |||||
* | Fixed a bunch of stuff. Added mike's patches. | Diego Nehab | 2004-07-16 | 1 | -4/+3 |
| | |||||
* | Still need to fix windows. :o/ | Diego Nehab | 2004-07-15 | 1 | -33/+37 |
| | |||||
* | Manual is almost done. HTTP is missing. | Diego Nehab | 2004-06-15 | 1 | -1/+0 |
| | | | | | | | Implemented new distribution scheme. Select is now purely C. HTTP reimplemented seems faster dunno why. LTN12 functions that coroutines fail gracefully. | ||||
* | Só pra não perder se der merda. | Diego Nehab | 2004-06-04 | 1 | -3/+0 |
| | |||||
* | Adjusted some of the broken examples. | Diego Nehab | 2004-03-26 | 1 | -0/+1 |
| | |||||
* | Worked on the manual. | Diego Nehab | 2004-02-04 | 1 | -8/+1 |
| | | | | | Implemented stuffing (needs test) Added cddb and qp examples. | ||||
* | Working on the manual... | Diego Nehab | 2004-01-24 | 1 | -0/+21 |
| | | | | | | Making better tests for error messages. Changed a few names. Moved gethostname to inet.c. | ||||
* | New accept/connect code. | Diego Nehab | 2004-01-24 | 1 | -11/+3 |
| | | | | | | Better error checking. Better tests. __tostring implemented. | ||||
* | Fixed functions that return messages in ?socket.c. | Diego Nehab | 2004-01-21 | 1 | -38/+18 |
| | | | | | | Moved complexity of connect and accept there. Created a new options.c module to take care of options. Auxiliar.c is now cleaner. | ||||
* | Updated some of the callbacks in callback.lua. | Diego Nehab | 2004-01-19 | 1 | -1/+1 |
| | | | | | | | | | | Update get.lua to use the new callbacks. The old "code" module is now the "mime" module. Updated all modules that depended on it. Updated url.lua to use the new namespace scheme, and moved the escape and unescape functions that used to be in the code.lua module to it, since these are specific to urls. Updated the callback entries in the manual. | ||||
* | Fixed bug in accept, added tests for it and for connect with timeout. | Diego Nehab | 2004-01-18 | 1 | -0/+1 |
| | |||||
* | Trying to get connect-with-timeout to work. Darwin works... | Diego Nehab | 2004-01-18 | 1 | -14/+27 |
| | |||||
* | Trying to get rid of EINTR problems... | Diego Nehab | 2004-01-17 | 1 | -4/+2 |
| | |||||
* | Adjusted a few inconsistencies with the manual. | Diego Nehab | 2003-08-16 | 1 | -7/+22 |
| | |||||
* | Bug in usocket_recv... | Diego Nehab | 2003-06-30 | 1 | -1/+0 |
| | |||||
* | Finished implementation of LuaSocket 2.0 alpha on Linux. | Diego Nehab | 2003-06-26 | 1 | -39/+4 |
| | | | | Some testing still needed. | ||||
* | Compiles and runs on linux and windows, using DLLs! | Diego Nehab | 2003-06-11 | 1 | -10/+9 |
| | |||||
* | Select re-implemented in a nicer way. | Diego Nehab | 2003-06-09 | 1 | -2/+3 |
| | | | | | | Few changes in internal class and group registration. Lua modules are compiled and built into library. Dynamic library tested in Linux and Mac OS X. | ||||
* | Porting to LUA 5.0 final | Diego Nehab | 2003-05-25 | 1 | -100/+70 |
| | |||||
* | Closer to release... | Diego Nehab | 2003-03-28 | 1 | -3/+6 |
| | |||||
* | Completed port to Lua 5.0-beta. | Diego Nehab | 2003-03-20 | 1 | -2/+2 |
| | |||||
* | Already compiling and running for Lua 5.0 (alpha) | Diego Nehab | 2002-12-02 | 1 | -4/+4 |
| | |||||
* | internet class. | Diego Nehab | 2002-07-03 | 1 | -70/+46 |
| | |||||
* | Initial revision | Diego Nehab | 2002-03-21 | 1 | -0/+352 |