MQTTnet
MQTTnet copied to clipboard
ReuseAddress option on Client Socket (as well).
trafficstars
This is an issue strictly related to another one that has been already solved on the server side (see relevant comment), but may still affect the clients that are forced to be bound (in my case due to an implementation requirement) to specific local endpoints.
Exception: System.Net.Sockets.SocketException : Only one usage of each socket address (protocol/network address/port) is normally permitted.
StackTrace: CrossPlatformSocket.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken) MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)