• src/xpdev/sockwrap.h

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Feb 19 13:47:40 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/3f08e8f6ecb50fa31f03eea7
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    typedef a socket_buffer_tThis is so we can deal with send(), recv() and friends takinga void* on BSD stacks, and a char* on Win32.Not a big deal for C where a void* is universal, but C++ hates thattype of thing.
    --- 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 Feb 19 14:43:22 2022
    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_tIt seems we can't add a const to a typedef in a static_cast<>()
    --- 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 Feb 19 21:46:18 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1d7b980540f0254306140e61
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Add socket_ioctl_ptr_tFor Win32, this is actually the pointer type an ioctl() thirdargument needs to be. For other OSs, this is basically what anFIONBIO third argument needs to be... there's really no restructionat all on what arguments after the second to ioctl() need to be.
    --- 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 Feb 19 21:53:24 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/24a7649626aa3d10a185f7cd
    Modified Files:
    src/xpdev/sockwrap.h
    Log Message:
    Fix socket_ioctl_ptr_tOn Win32 it can't be defined until after winsock*.h is #included.On everything else, it needs to be a pointer.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)