I run into an exception when bind netmq-router to "tcp://localhost:2022"
Unhandled Exception: NetMQ.NetMQException: Exception of type 'NetMQ.NetMQException' was thrown. ---> System.Net.Sockets.SocketException: Operation not supported
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent)
at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue)
at NetMQ.Core.Transports.Tcp.TcpListener.SetAddress(String addr)
--- End of inner exception stack trace ---
at NetMQ.Core.Transports.Tcp.TcpListener.SetAddress(String addr)
at NetMQ.Core.SocketBase.Bind(String addr)
at TcX.System.Messaging.Sockets.MessageRouter.Start() in D:\Repo\Git\TruControlX\Source\Backend\System\TcX.System.Messaging\Sockets\MessageRouter.cs:line 106
at TcX.System.SystemMessageRouter.Program.SuccessfullyParsed(String[] args, String address, Int32 port) in D:\Repo\Git\TruControlX\Source\Backend\Dispatcher\TcX.SystemMessageRouter.Host\Program.cs:line 44
at TcX.System.SystemMessageRouter.Program.Main(String[] args) in D:\Repo\Git\TruControlX\Source\Backend\Dispatcher\TcX.SystemMessageRouter.Host\Program.cs:line 18
Hi there,
I run into an exception when bind netmq-router to "tcp://localhost:2022"
Unhandled Exception: NetMQ.NetMQException: Exception of type 'NetMQ.NetMQException' was thrown. ---> System.Net.Sockets.SocketException: Operation not supported at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent) at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue) at NetMQ.Core.Transports.Tcp.TcpListener.SetAddress(String addr) --- End of inner exception stack trace --- at NetMQ.Core.Transports.Tcp.TcpListener.SetAddress(String addr) at NetMQ.Core.SocketBase.Bind(String addr) at TcX.System.Messaging.Sockets.MessageRouter.Start() in D:\Repo\Git\TruControlX\Source\Backend\System\TcX.System.Messaging\Sockets\MessageRouter.cs:line 106 at TcX.System.SystemMessageRouter.Program.SuccessfullyParsed(String[] args, String address, Int32 port) in D:\Repo\Git\TruControlX\Source\Backend\Dispatcher\TcX.SystemMessageRouter.Host\Program.cs:line 44 at TcX.System.SystemMessageRouter.Program.Main(String[] args) in D:\Repo\Git\TruControlX\Source\Backend\Dispatcher\TcX.SystemMessageRouter.Host\Program.cs:line 18
Environment
Expected behaviour
Should bind socket to address.
Actual behaviour
Crashs with exception
Steps to reproduce the behaviour
Any idea what could be the problem?