Commit Graph

92 Commits

Author SHA1 Message Date
TsT
8a24ddaf49 white background
white background (successfully tested on https://tst2005.github.io/luasocket/ in https://tst2005.github.io/luasocket/reference.css )
2014-11-28 12:09:44 +01:00
22cd5833fc Change link to github page. 2013-06-14 19:27:32 +08:00
ea812a755e Update NEW file and section 2013-06-14 19:12:44 +08:00
6e00ffd62f Changing from 2.1-rc1 to 3.0-rc1. 2013-06-11 19:10:03 +08:00
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
03ba06f70c Add new bug fix comment. 2012-08-01 03:34:06 -03:00
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
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
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
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
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
8bb542baaf Support getoption method for tcp objects. 2012-04-11 13:54:01 -07:00
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
12bde801f6 Document dirty, getfd, and setfd for select and tcp. 2012-04-11 13:45:59 -07:00
3a0fd4744d Reference index was missing documented APIs, and only partially alphabetized. 2012-04-11 13:45:59 -07:00
3a8ba90dfb Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
bce60be30f Decent makefiles! 2009-05-27 09:31:38 +00:00
d1a72435d5 New release. 2007-10-13 23:55:20 +00:00
e394956cde Global variable references. 2007-07-11 19:25:47 +00:00
185b6d806c Typo. 2007-06-15 06:38:29 +00:00
1c487e4be8 Almost ready to release. 2007-06-15 06:28:56 +00:00
3cd10f5ab6 Crashy bug fixed in recvraw.
Also fixed returns on closed socket.
2007-06-11 23:44:54 +00:00
d86af2f680 Tidy. 2006-04-20 04:32:06 +00:00
575113fe77 Spell checked and updated modification date. 2006-04-20 04:27:13 +00:00
75f51d5bc7 Almost ready to release 2.0.1 2006-04-20 04:16:23 +00:00
44c7f0f47b Mentions that closed sockets are ignored by select. 2006-04-14 02:04:38 +00:00
e8650bbf16 http.request was using old host header during redirects. 2006-04-13 07:00:24 +00:00
11282d17c8 Almost done 2.0.1. 2006-04-03 04:45:42 +00:00
00e74c304c Bug in footer. 2005-12-01 21:56:12 +00:00
96da86a81f Simplified documentation of send(). 2005-11-24 20:29:28 +00:00
7dace4af7e Changed LIB/SHARE to CDIR/LDIR. 2005-11-22 20:51:28 +00:00
d55a5826e8 Few tweaks in installation, some missing files, etc. 2005-11-22 08:33:29 +00:00
a2b780bf7a Spell checking on the manuals.
David's changes to lp.lua.
2005-11-21 07:04:44 +00:00
5e09779c7f In pre release mode! 2005-11-20 08:56:19 +00:00
087b4f865d Lua Workshop presentation. 2005-11-02 02:53:16 +00:00
72eceedc62 Bugs sent by David. 2005-10-05 03:16:17 +00:00
a32c6d9140 Almost ready to release. 2005-09-29 06:11:42 +00:00
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
0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
37f7af4b9f Added check-links-nb.lua that check links in a non-blocking way. 2005-06-20 04:51:55 +00:00
65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
b22f6f3830 Starting work on final version. 2005-05-17 22:10:46 +00:00
693a201db6 Wrong namespace. 2005-04-13 22:18:28 +00:00
8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
6b7aeb0cb9 Copyright. 2005-01-15 22:52:33 +00:00
5a7a23a7ef Stupid bug. 2005-01-12 06:27:58 +00:00
ff4bdd2592 typo. 2005-01-03 00:14:48 +00:00
3b7c263954 Minor tune-ups in the manual. 2005-01-03 00:13:14 +00:00
c5486e206c Releasing. 2005-01-02 23:31:14 +00:00
ae2d2859e7 Spell checked the manual. 2004-12-13 06:26:01 +00:00