summaryrefslogtreecommitdiff
path: root/sockcompat.c
AgeCommit message (Collapse)Author
2024-03-23all: rename redis -> redict symbols and commentsmasterAnna (navi) Figueiredo Gomes
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
2024-03-22all: use REUSE with LGPL-3.0-or-later and BSD-3-ClauseAnna (navi) Figueiredo Gomes
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
2022-09-03Use a windows specific keepalive function. (#1104)Michael Grunder
Use a windows specific keepalive function. While it is possible to toggle `TCP_KEEPALIVE` in windows via setsockopt, you have to use `WSAIoctl` to set the interval. Since `WSAIoctl` can actually do all of this in one call (toggle the option, and set the corresponding interval), just use that in Windows and avoid the call to `setsockopt` alltogether. Fixes: #1100
2022-06-26Support failed async connects on windows.Kristján Valur Jónsson
2020-07-20Move include to sockcompat.h to maintain style (#850)Michael Grunder
See #848
2020-07-20fix windows compiling with mingw (#848)Malizia R
2020-04-02Const correctnessmichael-grunder
Fixes #778
2019-05-13remove useless type castingMinun Dragonation
2019-05-05fix bugs on socket timeout tv usec calculationMinun Dragonation
2019-05-05fix bugs for optlen output on size not big enough for timeout eventsMinun Dragonation
2019-05-05fix bugs on ref address incorrect on sockcompact with getsockoptMinun Dragonation
2019-05-05fix bugs of setsockopt diff in win compact implementationMinun Dragonation
2019-04-01Port network layer to Winsockm
With this change, Hiredis builds with MinGW and runs on Windows.