Commit Graph

37 Commits

Author SHA1 Message Date
Diego Nehab
944305dc21 Added gettimeout for completeness.
Also documented.
Rordered manuals so order is alphabetical.
2016-03-04 15:36:32 -03:00
Diego Nehab
cdce73b226 Added support for FTP command lists 2016-03-04 14:38:56 -03:00
Philipp Janda
0341516a29 Clarify documentation for try/protect. 2016-02-24 06:59:37 +01:00
Philipp Janda
9fe38c654f Don't swallow errors in finalizers. 2016-02-24 00:48:43 +01:00
mpeterv
7c1df8a7cd Update HTML docs for try/protect 2016-02-21 12:10:25 +01:00
Diego Nehab
be67f63f4e Changed buffer-per-socket to buffer-per-operation.
This is a difficult tradeoff to measure. I think large
datagrams won't be used very frequently. So it is better to
not lock a large buffer to each socket object and instead
allocate and deallocate for each operation receiving a
datagram larger than UDP_DATAGRAMSIZE.
2015-10-06 11:33:50 +08:00
PixelToast
534dfed859 the universe has only existed for 43.8 years 2013-11-07 19:13:36 -05: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
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
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
Diego Nehab
bce60be30f Decent makefiles! 2009-05-27 09:31:38 +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
575113fe77 Spell checked and updated modification date. 2006-04-20 04:27:13 +00:00
Diego Nehab
44c7f0f47b Mentions that closed sockets are ignored by select. 2006-04-14 02:04:38 +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
0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
Diego Nehab
65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab
8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
Diego Nehab
ae2d2859e7 Spell checked the manual. 2004-12-13 06:26:01 +00:00
Diego Nehab
7592683b0a Modification dates updated. 2004-11-28 08:20:11 +00:00
Diego Nehab
534b0cedf7 Added new instalation section to the manual. 2004-11-28 08:17:16 +00:00
Diego Nehab
d914007507 Almost ready for beta2. 2004-07-26 04:04:04 +00:00
Diego Nehab
bce1cb30d8 More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
Diego Nehab
f7579db9e8 Fixing bugs... 2004-06-20 22:19:54 +00:00
Diego Nehab
cdae8c02ed *** empty log message *** 2004-06-18 21:41:51 +00:00
Diego Nehab
ac4aac0909 Implemented safe exceptions. This looks preeety good. 2004-06-18 08:02:09 +00:00
Diego Nehab
eac26d2c8d Updated manual timestamps and the added stuffing filters to mime.html. 2004-06-17 07:00:43 +00:00
Diego Nehab
94b97bdc00 Bug in select documentation. 2004-06-17 00:19:02 +00:00
Diego Nehab
ba2f0b8c6b Fine tuning the manual... 2004-06-16 20:41:03 +00:00
Diego Nehab
0a4c1534f3 Still work to do in the manual... 2004-06-16 04:28:21 +00:00
Diego Nehab
8e80e38f2c Manual almost there. 2004-06-16 01:02:14 +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
bf738a0336 Working with in the manual. 2004-05-26 04:58:32 +00:00
Diego Nehab
4b7c2db4b7 Forgot this file. 2004-05-25 06:52:06 +00:00