patch_seq_tcp_close

Function patch_seq_tcp_close 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_tcp_close(stack: Stack) -> Stack
Expand description

TCP close a socket

Stack effect: ( socket_id – )

Closes the socket connection and frees the socket ID for reuse

§Safety

Stack must have an Int (socket_id) on top