4 instantiations of DnsSocket
System.Net.NameResolution (4)
8 references to DnsSocket
System.Net.NameResolution (8)
System\Net\DnsResolverPal.Managed.cs (8)
635using DnsSocket socket = new DnsSocket(server.AddressFamily, stream: false);
647using DnsSocket socket = new DnsSocket(server.AddressFamily, stream: false);
695using DnsSocket socket = new DnsSocket(server.AddressFamily, stream: true);
730using DnsSocket socket = new DnsSocket(server.AddressFamily, stream: true);
764private static async Task ReceiveExactAsync(DnsSocket socket, Memory<byte> buffer, CancellationToken cancellationToken)
780private static void ReceiveExactSync(DnsSocket socket, Span<byte> buffer)
796private static async Task SendExactAsync(DnsSocket socket, ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken)
810private static void SendExactSync(DnsSocket socket, ReadOnlySpan<byte> buffer)