aboutsummaryrefslogtreecommitdiff
path: root/src/wsocket.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore: Remove the executable permission bit from some source files (#434)Tianjia Zhang2024-06-291-0/+0
|
* fix(wsocket): Properly report CONNRESET (#81)Paul Kulchenko2023-11-091-0/+2
|
* fix(build): Use gai_strerrorA not gai_strerror on Windowsrpatters12022-07-271-1/+1
| | | | | | | | | | | * 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>
* style: Use C-style comment syntax throughout (#309)Caleb Maclennan2022-03-181-10/+10
| | | Co-authored-by: Denise Cullassnekuff <19711487+BlackCutpoint@users.noreply.github.com>
* wrap visibility pragmas in #ifndef _WIN32E. Westbrook2019-03-101-8/+0
|
* usocket: pragma visibilityE. Westbrook2019-03-101-24/+31
|
* usocket.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-24/+26
|
* Update to Visual Studio 2017.Diego Nehab2018-08-221-2/+2
|
* New compat.h module implements luaL_setfuncs.Diego Nehab2015-08-211-41/+41
| | | | Makes initialization code simpler everywhere.
* updated error messages, less error prone, platform independentThijs Schreijer2015-03-031-31/+30
|
* Fix "final" bug in pton and TCP connreset handlingunknown2013-05-281-14/+23
|
* Fixed inet_pton and a new Winsock UDP bug.unknown2013-05-281-2/+10
| | | | | | | | | | | | | inet_pton was copying the entire sockaddr_in struct, rather than just the sin_addr field... I am a bit unsure about the UDP fix, because it may affect TCP as well. On UDP sockets, when a sendto fails, the next receive/receivefrom fails with CONNRESET. I changed sock_recv/sock_recvfrom in wsocket.c to skip the CONNRESET from the recv/recvfrom, hoping that if the socket is TCP, sock_waitfd will get the CONNRESET again. The tests pass, but this should be tested more thoroughly.
* Add MingW support.unknown2013-05-251-2/+6
|
* Remove warnings and fix makefile for Win32.Diego Nehab2012-12-111-7/+0
|
* Fix socket_accept usage to depend on family.Diego Nehab2012-12-111-4/+0
|
* Copied socket_gaistrerror implementation from usocket to wsocket to allow ↵Eric Wing2012-11-201-0/+25
| | | | Windows version to compile because it is missing the function. EAI_OVERFLOW and EAI_SYSTEM are commented out because they don't exist on Windows.
* 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
* Preliminary IPv6 support for v2.1Diego Nehab2012-04-111-1/+1
|
* Saving before big changes to support IPv6.Diego Nehab2011-05-251-4/+4
|
* Crashy bug fixed in recvraw.Diego Nehab2007-06-111-4/+4
| | | | Also fixed returns on closed socket.
* Changed prefix of function names to match module names.Diego Nehab2005-11-201-14/+20
| | | | Removed some warnings and useless code.
* Before compiling on Windows.Diego Nehab2005-10-071-47/+48
|
* Almost ready to release.Diego Nehab2005-09-291-11/+5
|
* Compiled on Windows. Fixed a bunch of stuff. Almost ready to release.Diego Nehab2005-08-231-1/+1
| | | | | Implemented a nice dispatcher! Non-blocking check-links and forward server use the dispatcher.
* Final push for release...Diego Nehab2005-08-121-1/+4
|
* Trying to get non-blocking connect to work.Diego Nehab2005-04-201-0/+1
|
* Seems to be working on windows.Diego Nehab2005-03-111-1/+2
|
* Apparently, non-blocking connect doesn't work on windows if you use 0Diego Nehab2005-03-111-13/+13
| | | | timeout in the select call...
* Forward server working on Mac OS X...Diego Nehab2005-02-081-3/+12
|
* New LTN12 test procedures (still short, but growing)Diego Nehab2004-11-281-1/+1
| | | | LTN12 avoids coroutines.
* Almost ready for beta3Diego Nehab2004-11-271-8/+7
|
* Beta2 is out! Total timeout works on Windows.Diego Nehab2004-07-261-1/+5
|
* Gonna try my luck on windows...Diego Nehab2004-07-261-3/+4
|
* Changed send function.Diego Nehab2004-07-181-2/+0
|
* Fixed a bunch of stuff. Added mike's patches.Diego Nehab2004-07-161-266/+187
|
* Compiles and runs on windows.Diego Nehab2004-07-021-227/+242
|
* Fixing send/recv and optimizing.Diego Nehab2004-06-231-2/+7
|
* More adjustments/bugfixes.Diego Nehab2004-06-211-5/+1
|
* Fixing bugs...Diego Nehab2004-06-201-1/+4
|
* Fine tuning the "require" business.Diego Nehab2004-05-301-0/+9
|
* Bug feioso no UDP e possivelmente no TCP também.Diego Nehab2004-05-281-15/+6
|
* New filter scheme.Diego Nehab2004-03-161-2/+2
| | | | | ltn12 and mime updated. smtp/ftp broken.
* Added ltn12 module. Modified mime to be stand alone.Diego Nehab2004-02-111-4/+4
| | | | Still crashes on invalid input. Dunno why.
* Worked on the manual.Diego Nehab2004-02-041-2/+4
| | | | | Implemented stuffing (needs test) Added cddb and qp examples.
* New accept/connect code.Diego Nehab2004-01-241-66/+149
| | | | | | Better error checking. Better tests. __tostring implemented.
* Adjusted wsocket to match usocket. Adjusted windows projects.Diego Nehab2004-01-211-55/+62
|
* Corrected connect in windows. Wasn't setting errno...Diego Nehab2004-01-211-2/+8
|
* Seems to be working on windows and linux.Diego Nehab2004-01-191-9/+33
|
* Trying to get rid of EINTR problems...Diego Nehab2004-01-171-0/+7
|
* Tested in windows. Still needs more testing, but progress has been made.Diego Nehab2004-01-171-92/+88
|