Skip to main content

recv

Function recv 

Source
pub fn recv(conn: i64, max_len: i64) -> Result<LogosSeq<i64>, String>
Expand description

Block until at least one byte arrives (or EOF), returning up to max_len bytes. A clean EOF is Ok of the empty Seq — a value, not an error.