The nn_close() function closes the socket sock.
Any operations that are currently in progress will be terminated, and will
fail with error EBADF.
|
Note
|
This function is provided for API compatibility with legacy libnanomsg. Consider using the relevant modern API instead. |