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

    From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Tuesday, April 09, 2024 18:03:01
    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.