105 references to InterNetwork
SMSvcHost (1)
System\ServiceModel\Activation\RoutingTable.cs (1)
142
(foundAddress.Equals(IPAddress.Any) && foundAddress.AddressFamily == System.Net.Sockets.AddressFamily.
InterNetwork
) ||
System (84)
net\System\Net\_AutoWebProxyScriptHelper.cs (6)
317
if (ipHostEntry.AddressList[i].AddressFamily == AddressFamily.
InterNetwork
)
343
if (ipHostEntry.AddressList[i].AddressFamily == AddressFamily.
InterNetwork
)
356
if (!IPAddress.IsLoopback(ipAddresses[i]) && ipAddresses[i].AddressFamily == AddressFamily.
InterNetwork
)
599
SocketAddress saddrv4 = new SocketAddress(AddressFamily.
InterNetwork
, SocketAddress.IPv4AddressSize);
603
AddressFamily.
InterNetwork
,
792
( (address.AddressFamily == AddressFamily.
InterNetwork
) &&
net\System\Net\_FtpControlStream.cs (3)
579
string passiveCommand = (ServerAddress.AddressFamily == AddressFamily.
InterNetwork
) ? "PASV" : "EPSV";
582
string portCommand = (ServerAddress.AddressFamily == AddressFamily.
InterNetwork
) ? "PORT" : "EPRT";
1128
if (ServerAddress.AddressFamily == AddressFamily.
InterNetwork
) {
net\System\Net\DNS.cs (2)
1141
if ( ( pAddressInfo->ai_family == AddressFamily.
InterNetwork
) || // Never filter v4
1156
if ( pAddressInfo->ai_family == AddressFamily.
InterNetwork
) {
net\System\Net\DnsEndPoint.cs (1)
33
if (addressFamily != AddressFamily.
InterNetwork
&&
net\System\Net\Internal.cs (1)
559
ipv4Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.
InterNetwork
, SocketType.Dgram, (ProtocolType)0, true, false);
net\System\Net\IPAddress.cs (6)
43
private AddressFamily m_Family = AddressFamily.
InterNetwork
;
125
m_Family = AddressFamily.
InterNetwork
;
389
if ( m_Family == AddressFamily.
InterNetwork
) {
399
if ( m_Family == AddressFamily.
InterNetwork
) {
710
case AddressFamily.
InterNetwork
:
740
if (AddressFamily == AddressFamily.
InterNetwork
)
net\System\Net\NetworkInformation\NetworkAddressChange.cs (1)
259
s_ipv4Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.
InterNetwork
, SocketType.Dgram, (ProtocolType)0, true, false);
net\System\Net\NetworkInformation\ping.cs (3)
336
if (address.AddressFamily == AddressFamily.
InterNetwork
)
469
if (address.AddressFamily == AddressFamily.
InterNetwork
)
746
if (ip.AddressFamily == AddressFamily.
InterNetwork
&& !Socket.OSSupportsIPv4)
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (3)
359
return new SystemIPGlobalStatistics(AddressFamily.
InterNetwork
);
366
return new SystemTcpStatistics(AddressFamily.
InterNetwork
);
373
return new SystemUdpStatistics(AddressFamily.
InterNetwork
);
net\System\Net\NetworkInformation\SystemUnicastIPAddressInformation.cs (4)
40
if (ipAddress.AddressFamily == AddressFamily.
InterNetwork
) {
53
if(Address.AddressFamily != AddressFamily.
InterNetwork
){
152
Contract.Requires((family == AddressFamily.
InterNetwork
) || (family == AddressFamily.InterNetworkV6));
155
if (family == AddressFamily.
InterNetwork
) {
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (1)
118
? AddressFamily.InterNetworkV6 : AddressFamily.
InterNetwork
;
net\System\Net\ServicePoint.cs (3)
246
socket = new Socket(AddressFamily.
InterNetwork
,SocketType.Stream,ProtocolType.Tcp);
305
if ( finalSocket.AddressFamily == AddressFamily.
InterNetwork
) {
1413
if ( remoteIPEndPoint.Address.AddressFamily==AddressFamily.
InterNetwork
) {
net\System\Net\SocketAddress.cs (2)
136
((ipAddress.AddressFamily == AddressFamily.
InterNetwork
) ? IPv4AddressSize : IPv6AddressSize)) {
192
} else if (Family == AddressFamily.
InterNetwork
) {
net\System\Net\Sockets\_MultipleConnectAsync.cs (3)
42
endPoint.AddressFamily == AddressFamily.
InterNetwork
||
427
socket4 = new Socket(AddressFamily.
InterNetwork
, socketType, protocolType);
454
else if (rval.AddressFamily == AddressFamily.
InterNetwork
)
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (1)
81
bool ipv4 = (((Socket)AsyncObject).AddressFamily == AddressFamily.
InterNetwork
net\System\Net\Sockets\ProtocolFamily.cs (1)
31
InterNetwork = AddressFamily.
InterNetwork
,
net\System\Net\Sockets\Socket.cs (20)
202
if (addressFamily != AddressFamily.
InterNetwork
&& addressFamily != AddressFamily.InterNetworkV6) {
221
if (addressFamily == AddressFamily.
InterNetwork
) {
723
if (addressFamily == AddressFamily.
InterNetwork
) {
741
if (addressFamily == AddressFamily.
InterNetwork
) {
756
if (addressFamily == AddressFamily.
InterNetwork
) {
765
if (addressFamily == AddressFamily.
InterNetwork
) {
776
if (addressFamily == AddressFamily.
InterNetwork
) {
788
if (addressFamily == AddressFamily.
InterNetwork
) {
833
return (family == addressFamily) || (family == AddressFamily.
InterNetwork
&& IsDualMode);
1076
if (addressFamily != AddressFamily.
InterNetwork
&& addressFamily != AddressFamily.InterNetworkV6) {
1100
if (addressFamily != AddressFamily.
InterNetwork
&& addressFamily != AddressFamily.InterNetworkV6) {
2287
else if (addressFamily == AddressFamily.
InterNetwork
) {
3091
if (addressFamily != AddressFamily.
InterNetwork
&& addressFamily != AddressFamily.InterNetworkV6) {
3160
if (addressFamily != AddressFamily.
InterNetwork
&& addressFamily != AddressFamily.InterNetworkV6) {
5884
if (input.AddressFamily == AddressFamily.
InterNetwork
&& IsDualMode)
5995
AddressFamily.
InterNetwork
,
6452
if (this.addressFamily == AddressFamily.
InterNetwork
6889
if (endPointSnapshot.AddressFamily == AddressFamily.
InterNetwork
)
7814
if(endPointSnapshot.AddressFamily == AddressFamily.
InterNetwork
)
9191
bool ipv4 = (m_CurrentSocket.AddressFamily == AddressFamily.
InterNetwork
net\System\Net\Sockets\TCPClient.cs (5)
28
AddressFamily m_Family = AddressFamily.
InterNetwork
;
61
public TcpClient() : this(AddressFamily.
InterNetwork
) {
80
if ( family != AddressFamily.
InterNetwork
&& family != AddressFamily.InterNetworkV6) {
222
ipv4Socket = new Socket(AddressFamily.
InterNetwork
, SocketType.Stream, ProtocolType.Tcp);
238
if (address.AddressFamily == AddressFamily.
InterNetwork
&& ipv4Socket != null) {
net\System\Net\Sockets\UDPClient.cs (15)
33
private AddressFamily m_Family = AddressFamily.
InterNetwork
;
41
public UdpClient() : this(AddressFamily.
InterNetwork
){
54
if ( family != AddressFamily.
InterNetwork
&& family != AddressFamily.InterNetworkV6 ) {
73
public UdpClient(int port) : this(port,AddressFamily.
InterNetwork
) {
92
if ( family != AddressFamily.
InterNetwork
&& family != AddressFamily.InterNetworkV6 ) {
99
if ( m_Family == AddressFamily.
InterNetwork
) {
339
ipv4Socket = new Socket(AddressFamily.
InterNetwork
, SocketType.Dgram, ProtocolType.Udp);
357
if (address.AddressFamily == AddressFamily.
InterNetwork
&& ipv4Socket != null) {
709
if ( m_Family == AddressFamily.
InterNetwork
) {
747
if ( m_Family == AddressFamily.
InterNetwork
) {
765
if ( m_Family == AddressFamily.
InterNetwork
) {
813
if ( m_Family == AddressFamily.
InterNetwork
) {
841
if ( m_Family != AddressFamily.
InterNetwork
) {
920
(m_Family == AddressFamily.
InterNetwork
) ? SocketOptionLevel.IP : SocketOptionLevel.IPv6,
949
if ( m_Family == AddressFamily.
InterNetwork
) {
net\System\Net\UnsafeNativeMethods.cs (3)
3169
SocketAddress v4address = new SocketAddress(AddressFamily.
InterNetwork
, SocketAddress.IPv4AddressSize);
3197
SocketAddress v4address = new SocketAddress(AddressFamily.
InterNetwork
, SocketAddress.IPv4AddressSize);
3282
if (addressFamily == (ushort) AddressFamily.
InterNetwork
)
System.Net (3)
net\PeerToPeer\PeerNameResolver.cs (2)
334
byte[] buffer = new byte[((AddressFamily)addressFamily == AddressFamily.
InterNetwork
) ? SystemNetHelpers.IPv4AddressSize : SystemNetHelpers.IPv6AddressSize];
702
byte[] buffer = new byte[((AddressFamily)addressFamily == AddressFamily.
InterNetwork
) ? SystemNetHelpers.IPv4AddressSize : SystemNetHelpers.IPv6AddressSize];
net\PeerToPeer\SystemNetHelpers.cs (1)
70
if ((AddressFamily)addressFamily == AddressFamily.
InterNetwork
)
System.Runtime.Remoting (2)
channels\core\corechannel.cs (1)
253
AddressFamily addressFamily = (Socket.OSSupportsIPv4) ? AddressFamily.
InterNetwork
: AddressFamily.InterNetworkV6;
channels\core\socketcache.cs (1)
137
return CreateNewSocket(AddressFamily.
InterNetwork
);
System.ServiceModel (5)
System\ServiceModel\Channels\PeerIPHelper.cs (2)
221
if (address.AddressFamily == AddressFamily.
InterNetwork
)
369
return address.AddressFamily == AddressFamily.
InterNetwork
;
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
1253
if (endpoint.AddressFamily == AddressFamily.
InterNetwork
)
1258
sa.sin_family = (short)AddressFamily.
InterNetwork
;
2225
if (addressFamily == AddressFamily.
InterNetwork
)
System.ServiceModel.Channels (8)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (1)
193
if (address.AddressFamily == AddressFamily.
InterNetwork
&& useIPv4)
System\ServiceModel\Channels\UdpChannelFactory.cs (3)
188
localAddress = (remoteEndPoint.AddressFamily == AddressFamily.
InterNetwork
? IPAddress.Loopback : IPAddress.IPv6Loopback);
192
localAddress = (remoteEndPoint.AddressFamily == AddressFamily.
InterNetwork
? IPAddress.Any : IPAddress.IPv6Any);
215
if (UdpUtility.TryGetLoopbackInterfaceIndex(adapters[i], localAddress.AddressFamily == AddressFamily.
InterNetwork
, out interfaceIndex))
System\ServiceModel\Channels\UdpChannelListener.cs (1)
559
if (UdpUtility.TryGetLoopbackInterfaceIndex(adapters[i], address.AddressFamily == AddressFamily.
InterNetwork
, out interfaceIndex))
System\ServiceModel\Channels\UdpSocket.cs (1)
158
if (this.AddressFamily == AddressFamily.
InterNetwork
)
System\ServiceModel\Channels\UdpUtility.cs (2)
322
if (address.AddressFamily == AddressFamily.
InterNetwork
)
448
bool isIPv4 = socket.AddressFamily == AddressFamily.
InterNetwork
;
WsatConfig (1)
Configuration\HttpWrapper.cs (1)
165
if (source.AddressFamily == AddressFamily.
InterNetwork
)
WsatUI (1)
Configuration\HttpWrapper.cs (1)
165
if (source.AddressFamily == AddressFamily.
InterNetwork
)