Function wire::tcp::connect_tcp
[−]
[src]
pub fn connect_tcp<'a, 'b, I, O, A>(addr: A, read_limit: SizeLimit, write_limit: SizeLimit) -> IoResult<(Receiver<I, DecodingError>, OutTcpStream<O>)> where I: Send + Decodable + 'static, O: Encodable, A: ToSocketAddrs
Connect to a server and open a send-receive pair. See upgrade
for more
details.