- Feb 19, 2022
-
-
Deucе authored
This is so we can deal with send(), recv() and friends taking a void* on BSD stacks, and a char* on Win32. Not a big deal for C where a void* is universal, but C++ hates that type of thing.
-
- Feb 11, 2022
-
-
Deucе authored
-
- Apr 04, 2021
-
-
Deucе authored
-
- Apr 02, 2021
-
-
Deucе authored
This appears to work and the event handler *should* work on other event types already. Note, this is *nix-only due to the use of poll(). select() will need to be used for Windows to keep XP compatability.
-
- Mar 20, 2021
-
-
Deucе authored
socket_readable() returns TRUE if recv() will not block if called on the specified socket. socket_writable() returns TRUE if send() will not block if called on the specified socket. socket_recvdone() returns TRUE if all data has been recv()ed an the socket is closed. "will not block" includes "will return an error". This matches the three main use-cases for select() of a single socket in Synchronet. Use them in the SyncTERM RLogin stuff so they can be tested easily.
-
- Mar 19, 2021
-
-
Deucе authored
There has been a sighting of Synchronet exceeding FD_SETSIZE sockets. This means select() is of less use and we need to start migrating to either poll() or platform-specific methods to achieve the same end. This commit is mostly to check that poll() builds on Win32 and that it actually works.
-
- Dec 06, 2020
-
-
Rob Swindell authored
xp_inet_pton() now sets the socket errno value, doing as instructed by the TODO.
-
- Dec 05, 2020
-
-
Rob Swindell authored
Rename the portable inet_pton() to xp_inet_pton() and define a wrapper macro (for all Widows builds) to use it instead of inet_pton() as not all supported Windows systems (e.g. WinXP) have an inet_pton() implementation. This allows the HAProxy mod to be re-enabled by default without preventing executing on WinXP.
-
- Nov 21, 2020
- Aug 16, 2020
-
-
Rob Swindell authored
-
- Aug 08, 2020
-
-
rswindell authored
-
- May 25, 2020
-
-
rswindell authored
that support large file offsets (e.g. 64-bit Linux). Considered returning ssize_t (like sendfile does), but opted for off_t. Could be convinced otherwise.
-
- Apr 19, 2020
- Sep 10, 2019
-
-
deuce authored
Hopfully this doesn't break the Borland or Watcom (?!) builds.
-
- Aug 06, 2019
-
-
deuce authored
-
- Jun 04, 2018
-
-
rswindell authored
-
- Mar 04, 2018
-
-
deuce authored
-
- May 21, 2016
-
-
rswindell authored
address (family and address value, ignoring ports and other fields).
-
- Nov 16, 2014
-
-
deuce authored
-
- Feb 10, 2014
-
-
deuce authored
-
- Feb 09, 2014
-
-
deuce authored
-
- Feb 07, 2014
-
-
deuce authored
-
- Oct 29, 2013
- Oct 11, 2013
- Sep 05, 2013
-
-
deuce authored
conventions when using the ws2tcpip.h that comes with Borland (sigh).
-
- Sep 04, 2013
- Sep 01, 2013
-
-
deuce authored
Fix inet_addrtop() for Win32.
-
- Aug 31, 2013
-
-
deuce authored
from a generic struct sockaddr. Add a xpms_add_list() for adding a str_list_t full of host[:port] definitions for when reading a str_list_t from the INI file of interfaces to listen on.
-
- May 24, 2010
-
-
rswindell authored
-
- Mar 09, 2010
-
-
rswindell authored
_FILE_OFFSET_BITS=64, and use fseeko() and ftello() for 64-bit offset support (instead of fseek() and ftell()) - also redefine off_t on Win32 to int64_t and removed filelen_t and fileoff_t typedefs (use off_t instead).
-
- Mar 05, 2010
-
-
rswindell authored
is defined (for MSVC only, currently).
-
- Oct 07, 2009
-
-
rswindell authored
-
- Jan 09, 2009
-
-
rswindell authored
-