Function nanomsg_sys::nn_connect[][src]

pub unsafe extern "C" fn nn_connect(socket: c_int, addr: *const c_char) -> c_int

"Adds a remote endpoint to the socket s. The library would then try to connect to the specified remote endpoint. The addr argument consists of two parts as follows: transport://address. The transport specifies the underlying transport protocol to use. The meaning of the address part is specific to the underlying transport protocol."

http://nanomsg.org/v0.4/nn_connect.3.html