patch_seq_tcp_write

Function patch_seq_tcp_write 

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

TCP write to a socket

Stack effect: ( string socket_id – Bool )

Writes string to the socket. Returns false on failure (invalid socket, write error).

§Safety

Stack must have Int (socket_id) and String on top