Florian Zeitz
a6cf48596d
Add IPv6 support to udp:sendto()
2012-07-17 19:02:20 +02:00
Diego Nehab
c2e29537f5
Fixed getpeername/getsockname situation
...
- Added IPv6 support to getsockname
- Simplified getpeername implementation
- Added family to return of getsockname and getpeername
and added modification to the manual to describe
2012-04-24 00:47:30 +08:00
Diego Nehab
f960b3872a
Making progress toward a release
...
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
2012-04-23 00:18:45 +08:00
Sam Roberts
4b671f4551
Merge branch 'git-sam' into diego-sam-mwild-integration
...
Conflicts in options.c were just due to independent small functions
being close to each other.
unix.c in mwild was broken, it wasn't using LUASOCKET_API.
serial.c needed luaL_reg renamed, and to use LUASOCKET_API.
makefile didn't respect standard DESTDIR and prefix makefile
variables, and didn't allow LUAV variable to select lua version to build
against.
I've tested the top-level install-both target builds and installs
against both lua5.1 and lua5.2, but not done further testing.
Conflicts:
README
config
gem/ltn012.tex
makefile
src/makefile
src/options.c
src/options.h
src/tcp.c
src/usocket.c
2012-04-11 14:18:20 -07:00
Sam Roberts
21698c7665
Receive of zero for UDP is now possible.
...
Previously, receive of zero was considered to be "closed", but that
is only true for stream-based protocols, like TCP.
2012-04-11 13:45:59 -07:00
Liam Devine
e15ed19db6
Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs sorting out to take maybe a version number and also the local paths need removing.
2012-04-11 13:33:34 -07:00
Florian Zeitz
594f826aa1
Add support for connecting to IPv6 hosts
2012-04-11 13:33:34 -07:00
Florian Zeitz
f871a29f27
Add support for the IPV6_V6ONLY socket option defaulting to on.
2012-04-11 13:33:34 -07:00
Florian Zeitz
923eef1929
Rework binding IPv6 sockets by harmonizing it with the IPv4 variant
2012-04-11 13:33:34 -07:00
Paul Aurich
908ee2cce1
Fix two crashes and add -Wshadow so that this can't happen again.
...
The two crashes are the s/const char *// changes in tcp.c. The rest
is cleanup so it will build.
2012-04-11 13:33:34 -07:00
Diego Nehab
2778766d67
Preliminary IPv6 support for v2.1
2012-04-11 13:25:11 -07:00
Diego Nehab
bce60be30f
Decent makefiles!
2009-05-27 09:31:38 +00:00
Diego Nehab
f4dadea763
Before compiling on Windows.
2005-10-07 04:40:59 +00:00
Diego Nehab
a32c6d9140
Almost ready to release.
2005-09-29 06:11:42 +00:00
Diego Nehab
5e75dc0857
Wrong class...
2005-04-13 22:18:21 +00:00
Diego Nehab
7c97e8e40a
Almost ready for beta3
2004-11-27 07:58:04 +00:00
Diego Nehab
9a79d500eb
Still need to fix windows. :o/
2004-07-15 06:11:53 +00:00
Diego Nehab
7115c12fbc
Moving on to beta2.
2004-07-01 03:32:09 +00:00
Diego Nehab
bce1cb30d8
More adjustments/bugfixes.
2004-06-21 06:07:58 +00:00
Diego Nehab
680473dd32
Runs on Linux.
2004-06-15 20:05:23 +00:00
Diego Nehab
58096449c6
Manual is almost done. HTTP is missing.
...
Implemented new distribution scheme.
Select is now purely C.
HTTP reimplemented seems faster dunno why.
LTN12 functions that coroutines fail gracefully.
2004-06-15 06:24:00 +00:00
Diego Nehab
9ed7f955e5
Só pra não perder se der merda.
2004-06-04 15:15:45 +00:00
Diego Nehab
c98dc99199
Bug feioso no UDP e possivelmente no TCP também.
2004-05-28 07:24:43 +00:00
Diego Nehab
888496aa82
FTP low-level working.
...
SMTP connection oriented working.
ltn12 improved.
2004-05-25 05:27:44 +00:00
Diego Nehab
0b2542d1a6
Worked on the manual.
...
Implemented stuffing (needs test)
Added cddb and qp examples.
2004-02-04 14:29:11 +00:00
Diego Nehab
0c9f420a35
New accept/connect code.
...
Better error checking.
Better tests.
__tostring implemented.
2004-01-24 00:18:19 +00:00
Diego Nehab
195069cf5f
Fixed functions that return messages in ?socket.c.
...
Moved complexity of connect and accept there.
Created a new options.c module to take care of options.
Auxiliar.c is now cleaner.
2004-01-21 18:40:52 +00:00
Diego Nehab
3f1712ed48
Added gethostname.
...
Cleaned up TODO.
Moved luasocket specific stuff from auxiliar.c to luasocket.c
2004-01-19 18:22:51 +00:00
Diego Nehab
c8d58798f0
Trying to get connect-with-timeout to work. Darwin works...
2004-01-18 00:04:20 +00:00
Diego Nehab
02ef4e7daa
Trying to get rid of EINTR problems...
2004-01-17 08:02:04 +00:00
Diego Nehab
076451c753
Tested in windows. Still needs more testing, but progress has been made.
2004-01-17 00:17:46 +00:00
Diego Nehab
3febb302ad
Killed a few bugs found by Tomas.
2003-11-27 00:30:54 +00:00
Diego Nehab
c51d4acf1c
Adjusted a few inconsistencies with the manual.
2003-08-16 00:06:04 +00:00
Diego Nehab
71f6bb60bf
Finished implementation of LuaSocket 2.0 alpha on Linux.
...
Some testing still needed.
2003-06-26 18:47:49 +00:00
Diego Nehab
f330540576
Compiles and runs on linux and windows, using DLLs!
2003-06-11 01:42:18 +00:00
Diego Nehab
58bdb658aa
Select re-implemented in a nicer way.
...
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.
2003-06-09 18:23:40 +00:00
Diego Nehab
0f6c8d50a9
Porting to LUA 5.0 final
2003-05-25 01:54:13 +00:00
Diego Nehab
f18d1b7cd0
Closer to release...
2003-03-28 21:08:50 +00:00
Diego Nehab
d3d4156ef9
Completed port to Lua 5.0-beta.
2003-03-20 23:11:25 +00:00
Diego Nehab
d7e80592a6
Already compiling and running for Lua 5.0 (alpha)
2002-12-02 23:34:41 +00:00
Diego Nehab
88026bef8a
Initial revision
2002-07-03 19:06:54 +00:00