mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-09-08 10:10:49 +00:00
Port
This commit is contained in:
@@ -217,7 +217,7 @@ internal sealed class EsiurWebSocketEndpoint
|
||||
{
|
||||
endPoint = null!;
|
||||
if (address is null
|
||||
|| port is <= IPEndPoint.MinPort or > IPEndPoint.MaxPort
|
||||
|| port is < IPEndPoint.MinPort or > IPEndPoint.MaxPort
|
||||
|| address.Equals(IPAddress.Any)
|
||||
|| address.Equals(IPAddress.IPv6Any)
|
||||
|| address.Equals(IPAddress.None)
|
||||
|
||||
Reference in New Issue
Block a user