aboutsummaryrefslogtreecommitdiff
path: root/src/options.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): Replace check for SO_BINDTODEVICE support with platform ↵leso-kn2023-10-271-2/+2
| | | | independent version
* fix(core): Disable SO_BINDTODEVICE on windowsleso-kn2023-10-271-2/+2
| | | | Co-authored-by: Sewbacca <sebastian.kalus@kolabnow.com>
* feat(tcp): Add 'bindtodevice' option (#408)Leso_KN2023-10-231-0/+27
|
* style(core) Remove lingering c-style comment (#388)George Zhao2022-08-271-1/+1
|
* feat(tcp): Add support for TCP Defer AcceptKim Alvefur2022-07-271-0/+9
| | | | | | | | This makes it so that a listening socket does not become readable for accept() until a connection has been fully established *and* started sending something, thus the program doesn't have to wait for the first data. This only makes sense for client-speaks-first protocols. Co-authored-by: Caleb Maclennan <caleb@alerque.com>
* feat(tcp): Add support for TCP Fast OpenKim Alvefur2022-07-271-0/+16
|
* style: Use C-style comment syntax throughout (#309)Caleb Maclennan2022-03-181-22/+23
| | | Co-authored-by: Denise Cullassnekuff <19711487+BlackCutpoint@users.noreply.github.com>
* options: pragma visibilityE. Westbrook2019-03-101-63/+89
|
* options.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-48/+46
|
* Merge pull request #244 from leyyer/optionsDiego Nehab2019-02-241-0/+20
|\ | | | | add options:
| * add options:surenyi2018-03-251-0/+20
| | | | | | | | | | | | | | get/set : recv-buffer-size get/set : send-buffer-size Signed-off-by: surenyi <surenyi82@163.com>
* | Merge pull request #116 from linuxmaniac/masterDiego Nehab2019-02-241-0/+36
|\ \ | |/ |/| Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" options
| * Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" optionsVictor Seva2014-12-051-0/+36
| |
* | src/options.c: increase buffer from 45 to 57, to accommodate string sizes ↵E. Westbrook2017-12-221-2/+2
| | | | | | | | specified (detected by gcc7's -Wstringpop-overflow)
* | Merge pull request #141 from cjtallman/masterDiego Nehab2015-08-211-0/+10
|\ \ | | | | | | Added missing options for UDP getoption.
| * | Added missing options for UDP getoption.cjtallman2015-06-111-0/+10
| |/ | | | | | | | | | | Documentation says "dontroute", "broadcast", "reuseaddr", and "reuseport" are supported as arguments to getoption, however their implementations were missing.
* / New compat.h module implements luaL_setfuncs.Diego Nehab2015-08-211-23/+23
|/ | | | Makes initialization code simpler everywhere.
* No need for inet_pton.Diego Nehab2013-06-041-8/+0
|
* Remove warnings. Move windows specific code.unknown2013-05-301-21/+7
|
* Leaving if in src/ but out of build for now.Diego Nehab2013-05-301-12/+123
|
* Add. Allow get `error` option to socket.moteus2013-05-291-0/+13
|
* Making progress toward a releaseDiego Nehab2012-04-231-2/+0
| | | | | | | | | | 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
* merged lua_typerrror.{c,h} into auxiliar.{c,h}Diego Nehab2012-04-161-3/+2
|
* Merge branch 'git-sam' into diego-sam-mwild-integrationSam Roberts2012-04-111-6/+54
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Support getoption method for tcp objects.Sam Roberts2012-04-111-0/+70
| |
* | Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs ↵Liam Devine2012-04-111-2/+3
| | | | | | | | sorting out to take maybe a version number and also the local paths need removing.
* | Add support for the IPV6_V6ONLY socket option defaulting to on.Florian Zeitz2012-04-111-0/+5
| |
* | Preliminary IPv6 support for v2.1Diego Nehab2012-04-111-1/+1
| |
* | Decent makefiles!Diego Nehab2009-05-271-12/+74
|/
* Changed prefix of function names to match module names.Diego Nehab2005-11-201-2/+2
| | | | Removed some warnings and useless code.
* Before compiling on Windows.Diego Nehab2005-10-071-18/+18
|
* Almost ready to release.Diego Nehab2005-09-291-1/+2
|
* Fixed smtp.lua loading.Diego Nehab2004-06-161-0/+10
| | | | | Adjusted tftp module. Added some comments.
* Adjusted wsocket to match usocket. Adjusted windows projects.Diego Nehab2004-01-211-0/+1
|
* Fixed functions that return messages in ?socket.c.Diego Nehab2004-01-211-0/+137
Moved complexity of connect and accept there. Created a new options.c module to take care of options. Auxiliar.c is now cleaner.