pub unsafe extern "C" fn nros_platform_tcp_read( sock: *const c_void, buf: *mut u8, len: usize, ) -> usize
Read up to len bytes. Returns bytes received, or NROS_PLATFORM_NET_SOCKET_ERROR on error.
len
NROS_PLATFORM_NET_SOCKET_ERROR