net\System\Net\_SafeNetHandles.cs (4)
2490internal static SafeCloseSocket CreateWSASocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
2718InnerSafeCloseSocket result = UnsafeNclNativeMethods.OSSOCK.WSASocket((AddressFamily) (-1),(SocketType) (-1),(ProtocolType) (-1), pinnedBuffer, 0, SocketConstructorFlags.WSA_FLAG_OVERLAPPED);
2725internal static InnerSafeCloseSocket CreateWSASocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
2758internal static SafeCloseSocketAndEvent CreateWSASocketWithEvent(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, bool autoReset, bool signaled){
net\System\Net\Internal.cs (4)
216uint result = UnsafeNetInfoNativeMethods.GetAdaptersAddresses(AddressFamily.Unspecified, (uint)gaaFlags, IntPtr.Zero, SafeLocalFree.Zero, ref size);
222result = UnsafeNetInfoNativeMethods.GetAdaptersAddresses(AddressFamily.Unspecified, (uint)gaaFlags, IntPtr.Zero, buffer, ref size);
559ipv4Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.InterNetwork, SocketType.Dgram, (ProtocolType)0, true, false);
565ipv6Socket = SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily.InterNetworkV6, SocketType.Dgram, (ProtocolType)0, true, false);
net\System\Net\Sockets\ProtocolFamily.cs (31)
19Unknown = AddressFamily.Unknown,
23Unspecified = AddressFamily.Unspecified,
27Unix = AddressFamily.Unix,
31InterNetwork = AddressFamily.InterNetwork,
35ImpLink = AddressFamily.ImpLink,
39Pup = AddressFamily.Pup,
43Chaos = AddressFamily.Chaos,
47NS = AddressFamily.NS,
51Ipx = AddressFamily.Ipx,
55Iso = AddressFamily.Iso,
59Osi = AddressFamily.Osi,
63Ecma = AddressFamily.Ecma,
67DataKit = AddressFamily.DataKit,
71Ccitt = AddressFamily.Ccitt,
75Sna = AddressFamily.Sna,
79DecNet = AddressFamily.DecNet,
83DataLink = AddressFamily.DataLink,
87Lat = AddressFamily.Lat,
91HyperChannel = AddressFamily.HyperChannel,
95AppleTalk = AddressFamily.AppleTalk,
99NetBios = AddressFamily.NetBios,
103VoiceView = AddressFamily.VoiceView,
107FireFox = AddressFamily.FireFox,
111Banyan = AddressFamily.Banyan,
115Atm = AddressFamily.Atm,
119InterNetworkV6 = AddressFamily.InterNetworkV6,
123Cluster = AddressFamily.Cluster,
127Ieee12844 = AddressFamily.Ieee12844,
131Irda = AddressFamily.Irda,
135NetworkDesigners = AddressFamily.NetworkDesigners,
139Max = AddressFamily.Max,