Closed GuojieLin closed 2 years ago
m_writeSocket is a block socket
m_writeSocket.Connect(listener.LocalEndPoint);
should be connect completed.
accept was blocked, because listen never accept new connection.
Is it possible to cause SO_REUSEADDR parameters?
This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.
invoke
NetMQ.Core.Ctx.CreateSocket
create new NetMQSocket, sometimes it be blocked.i create a dump ,and output the thread stack
And I reviewed the code.
I can't understand why the position is blocked.
Environment
Expected behaviour
invoke
NetMQ.Core.Ctx.CreateSocket
create new NetMQSocketActual behaviour
CreateSocket Blocked,another thread create socket whill bei block ,due to a create socket lock.
Steps to reproduce the behaviour
i don't know,There's a chance it's going to happen, i can't reproduce the behaviour.and I can't understand why this happened.