Base:
property
AddressFamily
System.Net.EndPoint.AddressFamily
12 references to AddressFamily
System (12)
net\System\Net\Sockets\_MultipleConnectAsync.cs (4)
41
GlobalLog.Assert(endPoint.
AddressFamily
== AddressFamily.Unspecified ||
42
endPoint.
AddressFamily
== AddressFamily.InterNetwork ||
43
endPoint.
AddressFamily
== AddressFamily.InterNetworkV6,
44
"MultipleConnectAsync.StartConnectAsync(): Unexpected endpoint address family - " + endPoint.
AddressFamily
.ToString());
net\System\Net\Sockets\Socket.cs (8)
1016
if (dnsEP.
AddressFamily
!= AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.
AddressFamily
))
2752
if (dnsEP.
AddressFamily
!= AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.
AddressFamily
))
7793
if (dnsEP.
AddressFamily
!= AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.
AddressFamily
)) {
7889
if (dnsEP.
AddressFamily
== AddressFamily.Unspecified) {
7892
attemptSocket = new Socket(dnsEP.
AddressFamily
, socketType, protocolType);