-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Win32 only) Assertion failed: Address already in use (..\..\..\src\signaler.cpp:80) #84
Comments
On Windows Server 2008 you have SO_PORT_SCALABILITY to avoid this problem. http://msdn.microsoft.com/en-us/library/cc150670(v=VS.85).aspx |
drahosp
pushed a commit
to LuaDist/libzmq
that referenced
this issue
Feb 13, 2014
benjdero
pushed a commit
to benjdero/libzmq
that referenced
this issue
Feb 20, 2023
Broke discovery with UDP refactor - fixed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running an application which uses lots of sockets on Win32, I get this assertion.
This appears to be caused by a WSAEADDRINUSE return from connect () on the emulated socketpair used by signaler_t.
MSDN docs at http://msdn.microsoft.com/en-us/library/ms740668%28VS.85%29.aspx suggest using SO_REUSEADDR but this doesn't seem to help. It's not clear if this is just Winsock running out of "ports to assign to sockets", or something else.
I guess the best solution in the long term is to migrate to IOCP on Win32 which should let us use Named Pipes or some other IPC mechanism for the signaler.
The text was updated successfully, but these errors were encountered: