aboutsummaryrefslogtreecommitdiff
path: root/src/luasocket.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue error when select is called with invalid parameters.Diego Nehab2001-06-081-10/+11
| | | | Some warnings removed (include string.h)
* Select was also crashing on non-table parameters.Diego Nehab2001-06-041-14/+26
| | | | Changed time to _time and sleep to _sleep to avoid name clashes.
* Added support to UDP socket options.Diego Nehab2001-04-231-77/+139
|
* Some internal functions were not static.Diego Nehab2001-04-161-32/+37
| | | | Correct select bug that would crash on closed sockets.
* Found a new way to define global version of table methods using only ~15Diego Nehab2001-03-121-144/+222
| | | | | lines of code. So, they are back. Added '*w' word receive pattern.
* Removed global version of table methods.Diego Nehab2001-03-061-329/+201
| | | | | | Close method is now permitted on closed sockets. Added generalized select support. Removed poll method, replaced by select with advantage.
* Added support for the CYGWIN gcc compiler.Diego Nehab2001-01-281-3/+9
|
* UDP code implemented.Diego Nehab2001-01-251-797/+1466
| | | | | DNS code has been rewritten. Almost everything has been changed. :-)
* The actuall bind to the Lua language has been rewritten withDiego Nehab2001-01-151-457/+442
| | | | | | | | | | generalized use of closure values. Sockets are now real tables, where each method receives a p_sock structure as a closure. Global version of methods are now optional, and call the table versions. Included the toip function that converts from host name to ip address. new implementation of '*a' was broken as has been fixed. The windows code has been tested and is working.
* All input from sockets is now buffered. This has drasticallyDiego Nehab2001-01-131-315/+267
| | | | | improved line I/O. The code is much simpler now, too. All timeout management has been rewritten.
* Simplified SIGPIPE treatment.Diego Nehab2000-12-291-16/+6
| | | | Changed some ints to size_ts.
* Added new receive pattern "*a"Diego Nehab2000-12-271-202/+386
| | | | | Added new bind pattern "*" that binds to INADDR_ANY bind now also returns the ip and port bound to.
* Initial revisionDiego Nehab2000-06-021-0/+1357