shoop::connection
pub struct Client { // some fields omitted }
impl Client
fn new(addr: SocketAddr, key: Key) -> Client
fn connect(&self) -> Result<(), UdtError>
fn send(&self, buf: &[u8]) -> Result<(), UdtError>
fn recv(&self) -> Result<Vec<u8>, UdtError>
fn close(&self) -> Result<(), UdtError>