So after nn_shutdown I can't call nn_connect one more time? Should I call
nn_socket again to establish a new connection after nn_shutdown?
On Sat, Oct 6, 2018 at 12:22 PM Garrett D'Amore <garrett@xxxxxxxxxx> wrote:
nn_shutdown closes just one endpoint and prevents that endpoint from
forming new connections.
nn_close closes the entire socket.
A socket can have many endpoints.
On Sat, Oct 6, 2018, 12:26 AM Mamuka Sakhelashvili <
mamuka.sakhelashvili@xxxxxxxx> wrote:
Hello,
What is the difference between nn_shutdown and nn_close? As nn_shutdown
removes the peer from the socket, can the peer be back again? If not, why
do we have both of them?
Regards,
Mamuka