Function nanomsg_sys::nn_socket[][src]

pub unsafe extern "C" fn nn_socket(domain: c_int, protocol: c_int) -> c_int

"Creates an SP socket with specified domain and protocol. Returns a file descriptor for the newly created socket."

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