Base:
property
AddressFamily
System.Net.EndPoint.AddressFamily
25 references to AddressFamily
System (9)
net\System\Net\IPEndPoint.cs (2)
140if (socketAddress.Family != this.AddressFamily) { 141throw new ArgumentException(SR.GetString(SR.net_InvalidAddressFamily, socketAddress.Family.ToString(), this.GetType().FullName, this.AddressFamily.ToString()), "socketAddress");
net\System\Net\Sockets\Socket.cs (1)
5884if (input.AddressFamily == AddressFamily.InterNetwork && IsDualMode)
net\System\Net\Sockets\TCPClient.cs (1)
45m_Family = localEP.AddressFamily;
net\System\Net\Sockets\TCPListener.cs (4)
39m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp); 58m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp); 79m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp); 213m_ServerSocket = new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
net\System\Net\Sockets\UDPClient.cs (1)
129m_Family = localEP.AddressFamily;
System.Net (7)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
374sin.sin6_family = (ushort)endPoint.AddressFamily;
net\PeerToPeer\Collaboration\PeerEndPoint.cs (2)
87if ((m_endPoint != null) && (m_endPoint.AddressFamily != AddressFamily.InterNetworkV6)){ 119if ((m_endPoint != null) && (m_endPoint.AddressFamily != AddressFamily.InterNetworkV6)){
net\PeerToPeer\SystemNetHelpers.cs (4)
16byte[] buffer = new byte[ipEndPoint.AddressFamily == AddressFamily.InterNetworkV6 ? IPv6AddressSize : IPv4AddressSize]; 21buffer[0] = unchecked((byte)((int)ipEndPoint.AddressFamily)); 22buffer[1] = unchecked((byte)((int)ipEndPoint.AddressFamily >> 8)); 24if (ipEndPoint.AddressFamily == AddressFamily.InterNetworkV6)
System.ServiceModel (5)
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
1253if (endpoint.AddressFamily == AddressFamily.InterNetwork) 1263else if (endpoint.AddressFamily == AddressFamily.InterNetworkV6)
System\ServiceModel\Channels\SocketConnection.cs (2)
2105this.listenSocket = new Socket(localEndpoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp); 2107if (localEndpoint.AddressFamily == AddressFamily.InterNetworkV6 && settings.TeredoEnabled)
System\ServiceModel\Channels\TcpChannelListener.cs (1)
314Socket result = new Socket(localEndpoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
System.ServiceModel.Channels (4)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (1)
135if (socket.AddressFamily == remoteEndPoint.AddressFamily)
System\ServiceModel\Channels\UdpChannelFactory.cs (2)
188localAddress = (remoteEndPoint.AddressFamily == AddressFamily.InterNetwork ? IPAddress.Loopback : IPAddress.IPv6Loopback); 192localAddress = (remoteEndPoint.AddressFamily == AddressFamily.InterNetwork ? IPAddress.Any : IPAddress.IPv6Any);
System\ServiceModel\Channels\UdpUtility.cs (1)
127socket = new Socket(localEndpoint.AddressFamily, SocketType.Dgram, ProtocolType.Udp);