#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_tcp_read(stack: Stack) -> StackExpand description
TCP read from a socket
Stack effect: ( socket_id โ string Bool )
Reads all available data from the socket. Returns (โโ, false) on failure (invalid socket, read error, size limit, invalid UTF-8).
ยงSafety
Stack must have an Int (socket_id) on top