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