Base:
property
AddressFamily
System.Net.EndPoint.AddressFamily
10 references to AddressFamily
System.Net.Sockets (10)
System\Net\Sockets\Socket.cs (6)
858if (dnsEP.AddressFamily != AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.AddressFamily)) 2911if (dnsEP.AddressFamily != AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.AddressFamily)) 3004Socket? attemptSocket = dnsEP.AddressFamily != AddressFamily.Unspecified ? new Socket(dnsEP.AddressFamily, socketType, protocolType) : null;
System\Net\Sockets\SocketAsyncEventArgs.cs (4)
682Debug.Assert(endPoint.AddressFamily == AddressFamily.Unspecified || 683endPoint.AddressFamily == AddressFamily.InterNetwork || 684endPoint.AddressFamily == AddressFamily.InterNetworkV6); 690Task<IPAddress[]> addressesTask = Dns.GetHostAddressesAsync(endPoint.Host, endPoint.AddressFamily, cancellationToken);