The nn_shutdown()
shuts down the “endpoint” ep on the socket sock.
This will stop the socket from either accepting new connections, or establishing
old ones.
Additionally, any established connections associated with ep will be
closed.
Note
|
This function is provided for API compatibility with legacy libnanomsg. Consider using the relevant modern API instead. |