Is there an existing issue for this?
Describe the bug
UdpSession配置监听端口后,打开,然后关闭,再配置监听端口后,打开。会收到2遍同一个信息。版本号4.2.12
UdpSession udpSession = new UdpSession();
await udpSession.SetupAsync(new TouchSocketConfig()
.SetBindIPHost(new IPHost(9023)));
await udpSession.StartAsync();
await Task.Delay(2000);
await udpSession.StopAsync();
await udpSession.SetupAsync(new TouchSocketConfig()
.SetBindIPHost(new IPHost(9023)));
await udpSession.StartAsync()
Expected Behavior
不会重复收到
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
net10
Anything else?
No response
Is there an existing issue for this?
Describe the bug
UdpSession配置监听端口后,打开,然后关闭,再配置监听端口后,打开。会收到2遍同一个信息。版本号4.2.12
UdpSession udpSession = new UdpSession();
await udpSession.SetupAsync(new TouchSocketConfig()
.SetBindIPHost(new IPHost(9023)));
await udpSession.StartAsync();
await Task.Delay(2000);
await udpSession.StopAsync();
await udpSession.SetupAsync(new TouchSocketConfig()
.SetBindIPHost(new IPHost(9023)));
await udpSession.StartAsync()
Expected Behavior
不会重复收到
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
net10
Anything else?
No response