• src/xpdev/sockwrap.c

    From rswindell@1:103/705 to CVS commit on Sun Apr 19 21:35:48 2020
    src/xpdev sockwrap.c 1.67 1.68
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv19496

    Modified Files:
    sockwrap.c
    Log Message:
    Added EXCLUSIVEADDRUSE support (WinSock only).


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Aug 8 10:22:50 2020
    src/xpdev sockwrap.c 1.69 1.70
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv8156

    Modified Files:
    sockwrap.c
    Log Message:
    Use Microsoft magic to "ignore regular line breaks in the message definition text." of socket error strings on Windows:
    strips the embedded line-feeds from the socket error description.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Aug 8 11:04:02 2020
    src/xpdev sockwrap.c 1.70 1.71
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv11757

    Modified Files:
    sockwrap.c
    Log Message:
    Trim trailing-whitespace off of Windows socket error description strings.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Aug 8 19:13:57 2020
    src/xpdev sockwrap.c 1.73 1.74
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv9008

    Modified Files:
    sockwrap.c
    Log Message:
    socket_strerror() needs to auto-correct for WinSock error ranges.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to sbbs/master on Fri Nov 20 17:10:50 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/54f165161d3c8a9cb68090c5
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Fix bugs in last commit... continue abusing the CI infra.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to sbbs/master on Fri Nov 20 17:12:44 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/804b4bf2af968c901e74f7fc
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    And finally, take a pointer, return success properly.This one should build even on Win32.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 21 04:38:19 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2890ff74180bd24979b1a98b
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    A poll() failure with EINTR does not mean a socket is closed.This won't impact Synchronet as it has a separate signal handlingthread, but we still need to behave properly for processes thatdon't. I'm also saying that ENOMEM does not indicate a disconnection,though it may be better to pretend it was disconnected...
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 21 10:43:22 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/9765a2ea6673ef0fef41ece4
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Fix poll()-based socket_check() implementationWas returning disconnected when it wasn't at times.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 21 14:31:12 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/c53a903d90ffc62b681e059b
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    We still need to peek a byte to tell that recv is done with poll()Not all implementations set POLLHUP when a TCP socket is half-closed.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Mar 22 21:45:51 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e6e83a5d66d8e38f00000c4d
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Properly set buffer size when calling getsockopt()
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Apr 10 13:08:14 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/90ca5a36c511c97538784089
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Finally document socket_check() behaviour.Tweak the poll() implementation to match.Should fix #248
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Apr 10 13:13:56 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/3fa3ad981f51aa082c07abf8
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Add more detail to socket_check() comment
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri May 21 20:04:42 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/baa72abe9c9ed0b56bfde91e
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Make inet_ptoaddr() not crash and work with IPv4 address strings
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Apr 30 18:56:34 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/6de0ebc0d5c8fc4a5fba8064
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Fix xp_inet_pton: was just writing 0x02 (address family)to 'dst', alwaysTried using this function in a new project and didn't work. My guess: it wasn't tested. <looks at Deuce>
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 21 06:36:38 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5bc000c5ba8137ff5be8d3b8
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Fix warning on Win64 build
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)