On at least Mono 3.2.8, multiple UDP sockets can bind to the same port by default. This means that when running multiple connections, two can occasionally bind to the same port, leading to unexpected errors as they intercept each others messages. Prevent this by explicitly setting SocketOptionName.ReuseAddress = false
10 KiB
10 KiB