12 references to AddressFamily
System (9)
net\System\Net\_FtpControlStream.cs (1)
1166
Socket socket = new Socket( templateSocket.
AddressFamily
, templateSocket.SocketType, templateSocket.ProtocolType );
net\System\Net\ServicePoint.cs (1)
305
if ( finalSocket.
AddressFamily
== AddressFamily.InterNetwork ) {
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (2)
81
bool ipv4 = (((Socket)AsyncObject).
AddressFamily
== AddressFamily.InterNetwork
83
bool ipv6 = ((Socket)AsyncObject).
AddressFamily
== AddressFamily.InterNetworkV6;
net\System\Net\Sockets\Socket.cs (5)
813
if (
AddressFamily
!= AddressFamily.InterNetworkV6) {
819
if (
AddressFamily
!= AddressFamily.InterNetworkV6) {
828
return
AddressFamily
== AddressFamily.InterNetworkV6 && DualMode;
9191
bool ipv4 = (m_CurrentSocket.
AddressFamily
== AddressFamily.InterNetwork
9193
bool ipv6 = m_CurrentSocket.
AddressFamily
== AddressFamily.InterNetworkV6;
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpSocket.cs (1)
50
return this.socket.
AddressFamily
;
System\ServiceModel\Channels\UdpUtility.cs (2)
448
bool isIPv4 = socket.
AddressFamily
== AddressFamily.InterNetwork;
490
bool isIPv6 = socket.
AddressFamily
== AddressFamily.InterNetworkV6;