[][src]Function loraxe::init_socket

pub fn init_socket(
    config: &Config,
    url: &SocketAddr
) -> Result<TcpStream, Box<dyn Error>>

Create a new TCP Socket, returns a result with the socket or an error