pub unsafe extern "C" fn nros_platform_tcp_read(
sock: *const c_void,
buf: *mut u8,
len: usize,
) -> usizeExpand description
Read up to len bytes. Returns bytes received (0: nothing yet),
NROS_PLATFORM_NET_SOCKET_EOF when the peer closed the stream, or
NROS_PLATFORM_NET_SOCKET_ERROR on error.