#[unsafe(no_mangle)]pub extern "C" fn moq_server_close(server: u32) -> i32Expand description
Stop listening.
Returns immediately: zero on success, or a negative code if the server is unknown or
already closing. Sessions already accepted keep running. The on_request callback
still fires once more with a terminal 0 after the sockets are released, so the
address can be bound again from there; release user_data in that callback.