Function rotor_carbon::connect_ip
[−]
[src]
pub fn connect_ip<S: GenericScope, C>(
addr: SocketAddr,
scope: &mut S
) -> Response<(Fsm<C, TcpStream>, Sink<C, TcpStream>), Void>
Connect to the socket by IP address
The method is here while rotor-dns is not matured yet. The better way would be to use dns resolving.