• src/sbbs3/main.cpp sbbs.h str.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Apr 9 18:03:01 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/424dfe1073b2f29f039431d8
    Modified Files:
    src/sbbs3/main.cpp sbbs.h str.cpp
    Log Message:
    Create/use sbbs_t::flush_output(timeout)

    If client socket is connected, wait up to the specified timeout period (in ms) for the output buffer to be emptied.

    This is much preferred over blindly calling mswait() after sending some data (e.g. a file) and possibly waiting much longer than necessary.

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