Tianjia Zhang
1fad162690
chore: Remove the executable permission bit from some source files ( #434 )
2024-06-29 14:33:47 +03:00
rpatters1
5a7e3f0888
fix(build): Use gai_strerrorA not gai_strerror on Windows
...
* Explicitly call gai_strerrorA (for Windows builds), so that the code work correctly in 32bit or 64bit builds.
* Implement GAI_STRERROR macro to deal with Windows vs. Non-Windows compiles for 64-bit.
* make usocket.c consistent with other modules that call macro GAI_STRERROR
* Use different name not just different case for macro wrapping function
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2022-07-27 09:51:35 +03:00
E. Westbrook
21514304be
wrap visibility pragmas in #ifndef _WIN32
2019-03-10 00:04:20 -07:00
E. Westbrook
1fa10673f7
socket.h: pragma visibility
2019-03-10 00:04:20 -07: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
b1f7c349b5
Add support for serial devices as socket streams on unix.
2012-04-11 13:45:59 -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
f20f4889bf
Changed prefix of function names to match module names.
...
Removed some warnings and useless code.
2005-11-20 07:20:26 +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
e57f9e9964
Apparently, non-blocking connect doesn't work on windows if you use 0
...
timeout in the select call...
2005-03-11 00:20:21 +00:00
Diego Nehab
8d4e240f6a
Forward server working on Mac OS X...
2005-02-08 10:01:01 +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
a193c087a4
Fixing send/recv and optimizing.
2004-06-23 01:08:54 +00:00
Diego Nehab
80b7acea2e
Compiled and tested on Windows...
2004-06-17 00:18:48 +00:00
Diego Nehab
5ca1049ab4
Fine tuning the "require" business.
2004-05-30 21:36:22 +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
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
89f3ecf782
http.lua updated. still needs proxy support.
...
code.lua updated. looks neat.
2004-01-16 07:06:31 +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
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
b2724ad2d1
New sock.h has nothing to do with class sock...
2003-05-25 01:56:46 +00:00
Diego Nehab
f18d1b7cd0
Closer to release...
2003-03-28 21:08:50 +00:00
Diego Nehab
88026bef8a
Initial revision
2002-07-03 19:06:54 +00:00