• src/xpdev/sockwrap.h

    From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, February 19, 2022 13:47:41
    https://gitlab.synchro.net/main/sbbs/-/commit/3f08e8f6ecb50fa31f03eea7
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    typedef a socket_buffer_t

    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, February 19, 2022 14:43:23
    https://gitlab.synchro.net/main/sbbs/-/commit/edc4b07532032ee90152da25
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Make socket_send_buffer_t separate from socket_recv_buffer_t

    It seems we can't add a const to a typedef in a static_cast<>()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, February 19, 2022 21:46:19
    https://gitlab.synchro.net/main/sbbs/-/commit/1d7b980540f0254306140e61
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Add socket_ioctl_ptr_t

    For Win32, this is actually the pointer type an ioctl() third
    argument needs to be. For other OSs, this is basically what an
    FIONBIO third argument needs to be... there's really no restruction
    at all on what arguments after the second to ioctl() need to be.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, February 19, 2022 21:53:25
    https://gitlab.synchro.net/main/sbbs/-/commit/24a7649626aa3d10a185f7cd
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Fix socket_ioctl_ptr_t

    On Win32 it can't be defined until after winsock*.h is #included.
    On everything else, it needs to be a pointer.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, December 01, 2024 21:56:35
    https://gitlab.synchro.net/main/sbbs/-/commit/67be8fd82a95d28f7230f510
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Borland C++ apparently doesn't support inline functions (!)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 01:23:11
    https://gitlab.synchro.net/main/sbbs/-/commit/bdaa8e57f312fb3d47d38d89
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Switch all *nix systems to use send()

    Bwa ha ha!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 16:19:54
    https://gitlab.synchro.net/main/sbbs/-/commit/a8988ad1f64dce4aa1f33325
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Switch all *nix systems to use send()

    Bwa ha ha!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net