Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 04 Apr, 2021 1 commit
  2. 02 Apr, 2021 1 commit
    • Deucе's avatar
      Initial work on setTimeout() · ad635a64
      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.
      ad635a64
  3. 20 Mar, 2021 1 commit
    • Deucе's avatar
      Add three new socket status functions: · 99f25324
      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.
      99f25324
  4. 19 Mar, 2021 1 commit
    • Deucе's avatar
      First attempt to use poll() · d0b94c03
      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.
      d0b94c03
  5. 06 Dec, 2020 1 commit
  6. 05 Dec, 2020 1 commit
    • Rob Swindell's avatar
      Use portable inet_pton() for all Win32 builds. · 7df76d2f
      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.
      7df76d2f
  7. 21 Nov, 2020 3 commits
  8. 16 Aug, 2020 1 commit
  9. 08 Aug, 2020 1 commit
  10. 25 May, 2020 1 commit
  11. 19 Apr, 2020 2 commits
  12. 10 Sep, 2019 1 commit
  13. 06 Aug, 2019 1 commit
  14. 04 Jun, 2018 1 commit
  15. 04 Mar, 2018 1 commit
  16. 21 May, 2016 1 commit
  17. 16 Nov, 2014 1 commit
  18. 10 Feb, 2014 1 commit
  19. 09 Feb, 2014 1 commit
  20. 07 Feb, 2014 1 commit
  21. 29 Oct, 2013 2 commits
  22. 11 Oct, 2013 2 commits
  23. 05 Sep, 2013 1 commit
  24. 04 Sep, 2013 3 commits
  25. 01 Sep, 2013 1 commit
  26. 31 Aug, 2013 1 commit
  27. 24 May, 2010 1 commit
  28. 09 Mar, 2010 1 commit
  29. 05 Mar, 2010 1 commit
  30. 07 Oct, 2009 1 commit
  31. 09 Jan, 2009 1 commit
  32. 04 Jun, 2008 1 commit
  33. 07 Jan, 2008 1 commit