MQTTnet icon indicating copy to clipboard operation
MQTTnet copied to clipboard

ReuseAddress option on Client Socket (as well).

Open cmerighi opened this issue 1 year ago • 0 comments
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)

cmerighi avatar Sep 13 '24 10:09 cmerighi