macro_rules! rumtk_start_server {
( $server:expr ) => { ... };
( $server:expr, $blocking:expr ) => { ... };
}
Expand description
Macro for starting the server. When a server is created, it does not start accepting clients right away. You need to call this macro to do that or call [tcp::RUMServerHandle::start] directly.
The only argument that we expect is the blocking
argument. If blocking
is requested,
calling this macro will block the calling thread. By default, we start the server in
non-blocking mode so that you can do other actions in the calling thread like queueing
messages.