Subj : src/sbbs3/main.cpp sbbs.h str.cpp To : Git commit to main/sbbs/master From : Rob Swindell (on Windows 11) Date : Tue Apr 09 2024 06:03 pm 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. .