Searched refs:connect (Results 1 – 3 of 3) sorted by relevance
64 let mut stream = UdpSocket::connect("127.0.0.1", 34254).unwrap(); in udp_socket()
64 let mut stream = TcpStream::connect("teaclave.apache.org", 80).unwrap(); in tcp_client()
91 pub fn connect(address: &str, port: u16) -> std::io::Result<Self> { in connect() method261 pub fn connect(address: &str, port: u16) -> std::io::Result<Self> { in connect() method
Completed in 3 milliseconds