ReuseAddress option on Client Socket (as well).
- Dominant language
- C#
- Stars
- 5.1k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
This is an issue strictly related to another one that has been **already solved on the server side** (see [relevant comment](https://github.com/dotnet/MQTTnet/issues/494#issuecomment-464424109)), but may still affect the **clients** that are forced to be bound (in my case due to an implementation requirement) to **specific local endpoint**s.
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)`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.