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