rumtk_connect

Macro rumtk_connect 

Source
macro_rules! rumtk_connect {
    ( $port:expr ) => { ... };
    ( $ip:expr, $port:expr ) => { ... };
}
Expand description

This macro is a convenience macro that allows you to establish a connection to an endpoint. It creates and instance of [tcp::RUMClientHandle].

If you only pass the port, we will connect to a server in localhost listening at that port.

If you pass both ip and port, we will connect to a server listening at that ip/port combo.