取消端口复用
This commit is contained in:
parent
4c159ae3e1
commit
413543753a
@ -58,7 +58,6 @@ namespace FastGithub.Dns
|
||||
|
||||
try
|
||||
{
|
||||
this.socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
|
||||
this.socket.Bind(new IPEndPoint(address, port));
|
||||
}
|
||||
catch (SocketException ex) when (ex.SocketErrorCode == SocketError.AccessDenied)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user