- 04 Apr, 2021 1 commit
-
-
Deucе authored
-
- 02 Apr, 2021 1 commit
-
-
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.
-
- 20 Mar, 2021 1 commit
-
-
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.
-
- 19 Mar, 2021 1 commit
-
-
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.
-
- 06 Dec, 2020 1 commit
-
-
Rob Swindell authored
xp_inet_pton() now sets the socket errno value, doing as instructed by the TODO.
-
- 05 Dec, 2020 1 commit
-
-
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.
-
- 21 Nov, 2020 3 commits
- 16 Aug, 2020 1 commit
-
-
Rob Swindell authored
-
- 08 Aug, 2020 1 commit
-
-
rswindell authored
-
- 25 May, 2020 1 commit
-
-
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.
-
- 19 Apr, 2020 2 commits
- 10 Sep, 2019 1 commit
-
-
deuce authored
Hopfully this doesn't break the Borland or Watcom (?!) builds.
-
- 06 Aug, 2019 1 commit
-
-
deuce authored
-
- 04 Jun, 2018 1 commit
-
-
rswindell authored
-
- 04 Mar, 2018 1 commit
-
-
deuce authored
-
- 21 May, 2016 1 commit
-
-
rswindell authored
address (family and address value, ignoring ports and other fields).
-
- 16 Nov, 2014 1 commit
-
-
deuce authored
-
- 10 Feb, 2014 1 commit
-
-
deuce authored
-
- 09 Feb, 2014 1 commit
-
-
deuce authored
-
- 07 Feb, 2014 1 commit
-
-
deuce authored
-
- 29 Oct, 2013 2 commits
- 11 Oct, 2013 2 commits
- 05 Sep, 2013 1 commit
-
-
deuce authored
conventions when using the ws2tcpip.h that comes with Borland (sigh).
-
- 04 Sep, 2013 3 commits
- 01 Sep, 2013 1 commit
-
-
deuce authored
Fix inet_addrtop() for Win32.
-
- 31 Aug, 2013 1 commit
-
-
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.
-
- 24 May, 2010 1 commit
-
-
rswindell authored
-
- 09 Mar, 2010 1 commit
-
-
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).
-
- 05 Mar, 2010 1 commit
-
-
rswindell authored
is defined (for MSVC only, currently).
-
- 07 Oct, 2009 1 commit
-
-
rswindell authored
-
- 09 Jan, 2009 1 commit
-
-
rswindell authored
-
- 04 Jun, 2008 1 commit
-
-
deuce authored
by properly const-ifying the appropriate functions and variables. Not yet tested on Win32
-
- 07 Jan, 2008 1 commit
-
-
rswindell authored
-