#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_tcp_close(stack: Stack) -> StackExpand description
TCP close a socket
Stack effect: ( socket_id – Bool )
Closes the socket connection and frees the socket ID for reuse. Returns true on success, false if socket_id was invalid.
§Safety
Stack must have an Int (socket_id) on top