aboutsummaryrefslogtreecommitdiff
path: root/src/inet.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wrap visibility pragmas in #ifndef _WIN32E. Westbrook2019-03-101-0/+4
|
* inet: pragma visibilityE. Westbrook2019-03-101-10/+12
|
* Fixes suggested by @Florob in #147.Diego Nehab2015-08-251-1/+1
|
* New agnostic IPv4 IPv6 functions.Diego Nehab2015-08-221-5/+5
| | | | | Also dealing with EPROTOTYPE Yosemite seems to be throwing at us for no reason.
* Fix Visual Studio 2012 projectsunknown2013-05-271-4/+3
|
* Merge tryconnect6 into inet_tryconnect.Diego Nehab2013-05-261-1/+1
|
* Added inet_pton/inet_ntop for MinGW on Windows; compiles with Lua52.Paul Kulchenko2013-04-071-0/+6
|
* Fix socket_accept usage to depend on family.Diego Nehab2012-12-111-0/+1
|
* Fix udp:setpeername("*")Diego Nehab2012-08-231-0/+1
| | | | | | | | | | | | | | 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 coreSam Roberts2012-05-101-0/+3
| | | | | | | 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.
* Fixed getpeername/getsockname situationDiego Nehab2012-04-241-3/+3
| | | | | | | - Added IPv6 support to getsockname - Simplified getpeername implementation - Added family to return of getsockname and getpeername and added modification to the manual to describe
* Add support for connecting to IPv6 hostsFlorian Zeitz2012-04-111-2/+2
|
* Rework binding IPv6 sockets by harmonizing it with the IPv4 variantFlorian Zeitz2012-04-111-3/+3
|
* Decent makefiles!Diego Nehab2009-05-271-2/+0
|
* Before compiling on Windows.Diego Nehab2005-10-071-6/+6
|
* Almost ready to release.Diego Nehab2005-09-291-1/+1
|
* Compiled and tested on Windows...Diego Nehab2004-06-171-1/+1
|
* Worked on the manual.Diego Nehab2004-02-041-1/+1
| | | | | Implemented stuffing (needs test) Added cddb and qp examples.
* New accept/connect code.Diego Nehab2004-01-241-1/+1
| | | | | | Better error checking. Better tests. __tostring implemented.
* Fixed functions that return messages in ?socket.c.Diego Nehab2004-01-211-4/+3
| | | | | | Moved complexity of connect and accept there. Created a new options.c module to take care of options. Auxiliar.c is now cleaner.
* Trying to get connect-with-timeout to work. Darwin works...Diego Nehab2004-01-181-2/+6
|
* Trying to get rid of EINTR problems...Diego Nehab2004-01-171-1/+1
|
* Tested in windows. Still needs more testing, but progress has been made.Diego Nehab2004-01-171-0/+4
|
* Finished implementation of LuaSocket 2.0 alpha on Linux.Diego Nehab2003-06-261-9/+14
| | | | Some testing still needed.
* Compiles and runs on linux and windows, using DLLs!Diego Nehab2003-06-111-0/+4
|
* Select re-implemented in a nicer way.Diego Nehab2003-06-091-1/+1
| | | | | | 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 finalDiego Nehab2003-05-251-24/+12
|
* Closer to release...Diego Nehab2003-03-281-1/+3
|
* Initial revisionDiego Nehab2002-07-031-0/+36