Skip to content
  • Rob Swindell's avatar
    Create/use sbbs_t::flush_output(timeout) · 424dfe10
    Rob Swindell authored
    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.