Commit Graph

89 Commits

Author SHA1 Message Date
Diego Nehab
6e00ffd62f Changing from 2.1-rc1 to 3.0-rc1. 2013-06-11 19:10:03 +08:00
Diego Nehab
6368caeb5a Fix udp:setpeername("*")
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".
2012-08-23 19:31:15 -03:00
Diego Nehab
03ba06f70c Add new bug fix comment. 2012-08-01 03:34:06 -03:00
Sam Roberts
156669c28b socket.connect now implemented in the C core
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.
2012-05-10 14:14:22 -07: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
Diego Nehab
f37e026026 First stab at documenation
Update Lua and Luasocket version in samples and in documentation
Documented ipv5_v6only default option being set
Documented tcp6 and udp6
Documented dns.getaddrinfo
Documented zero-sized datagram change?
Documented getoption
2012-04-17 01:15:26 +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
8bb542baaf Support getoption method for tcp objects. 2012-04-11 13:54:01 -07:00
Sam Roberts
db47a91d40 Fix links to home.html, they should be to index.html.
home.html doesn't exist, index.html does.
2012-04-11 13:45:59 -07:00
Sam Roberts
12bde801f6 Document dirty, getfd, and setfd for select and tcp. 2012-04-11 13:45:59 -07:00
Sam Roberts
3a0fd4744d Reference index was missing documented APIs, and only partially alphabetized. 2012-04-11 13:45:59 -07:00
Diego Nehab
3a8ba90dfb Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
Diego Nehab
bce60be30f Decent makefiles! 2009-05-27 09:31:38 +00:00
Diego Nehab
d1a72435d5 New release. 2007-10-13 23:55:20 +00:00
Diego Nehab
e394956cde Global variable references. 2007-07-11 19:25:47 +00:00
Diego Nehab
185b6d806c Typo. 2007-06-15 06:38:29 +00:00
Diego Nehab
1c487e4be8 Almost ready to release. 2007-06-15 06:28:56 +00:00
Diego Nehab
3cd10f5ab6 Crashy bug fixed in recvraw.
Also fixed returns on closed socket.
2007-06-11 23:44:54 +00:00
Diego Nehab
d86af2f680 Tidy. 2006-04-20 04:32:06 +00:00
Diego Nehab
575113fe77 Spell checked and updated modification date. 2006-04-20 04:27:13 +00:00
Diego Nehab
75f51d5bc7 Almost ready to release 2.0.1 2006-04-20 04:16:23 +00:00
Diego Nehab
44c7f0f47b Mentions that closed sockets are ignored by select. 2006-04-14 02:04:38 +00:00
Diego Nehab
e8650bbf16 http.request was using old host header during redirects. 2006-04-13 07:00:24 +00:00
Diego Nehab
11282d17c8 Almost done 2.0.1. 2006-04-03 04:45:42 +00:00
Diego Nehab
00e74c304c Bug in footer. 2005-12-01 21:56:12 +00:00
Diego Nehab
96da86a81f Simplified documentation of send(). 2005-11-24 20:29:28 +00:00
Diego Nehab
7dace4af7e Changed LIB/SHARE to CDIR/LDIR. 2005-11-22 20:51:28 +00:00
Diego Nehab
d55a5826e8 Few tweaks in installation, some missing files, etc. 2005-11-22 08:33:29 +00:00
Diego Nehab
a2b780bf7a Spell checking on the manuals.
David's changes to lp.lua.
2005-11-21 07:04:44 +00:00
Diego Nehab
5e09779c7f In pre release mode! 2005-11-20 08:56:19 +00:00
Diego Nehab
087b4f865d Lua Workshop presentation. 2005-11-02 02:53:16 +00:00
Diego Nehab
72eceedc62 Bugs sent by David. 2005-10-05 03:16:17 +00:00
Diego Nehab
a32c6d9140 Almost ready to release. 2005-09-29 06:11:42 +00:00
Diego Nehab
773e35ced3 Compiled on Windows. Fixed a bunch of stuff. Almost ready to release.
Implemented a nice dispatcher! Non-blocking check-links and forward server
use the dispatcher.
2005-08-23 05:53:14 +00:00
Diego Nehab
0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
Diego Nehab
37f7af4b9f Added check-links-nb.lua that check links in a non-blocking way. 2005-06-20 04:51:55 +00:00
Diego Nehab
65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab
b22f6f3830 Starting work on final version. 2005-05-17 22:10:46 +00:00
Diego Nehab
693a201db6 Wrong namespace. 2005-04-13 22:18:28 +00:00
Diego Nehab
8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
Diego Nehab
6b7aeb0cb9 Copyright. 2005-01-15 22:52:33 +00:00
Diego Nehab
5a7a23a7ef Stupid bug. 2005-01-12 06:27:58 +00:00
Diego Nehab
ff4bdd2592 typo. 2005-01-03 00:14:48 +00:00
Diego Nehab
3b7c263954 Minor tune-ups in the manual. 2005-01-03 00:13:14 +00:00
Diego Nehab
c5486e206c Releasing. 2005-01-02 23:31:14 +00:00
Diego Nehab
ae2d2859e7 Spell checked the manual. 2004-12-13 06:26:01 +00:00
Diego Nehab
4f2e036f60 Tiny adjustment. 2004-12-13 05:06:15 +00:00
Diego Nehab
4e5ad6d5ee Bug in poll.
Debug garbage in compat-5.1.c.
Improvements to the user manual.
2004-11-29 06:55:47 +00:00
Diego Nehab
bf563ac857 Adjusted distribution and typo. 2004-11-28 08:32:36 +00:00