Function nanomsg_sys::nn_shutdown[][src]

pub unsafe extern "C" fn nn_shutdown(socket: c_int, how: c_int) -> c_int

"Removes an endpoint from socket s. how parameter specifies the ID of the endpoint to remove as returned by prior call to nn_bind(3) or nn_connect(3). nn_shutdown() call will return immediately, however, the library will try to deliver any outstanding outbound messages to the endpoint for the time specified by NN_LINGER socket option."

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