private static async Task <IDnsPacket> TransmitAsync(Send sendObj) { var receivedBytes = await sendObj.Async(); IDnsPacket parsedBytes = DnsPacket.Parse(receivedBytes, sendObj.SendingDnsPacket); return(parsedBytes); }
private static async Task <IDnsPacket> TransmitAsync(Send sendObj) { var receivedBytes = await sendObj.Async(); IDnsPacket parsedBytes = DnsPacket.Parse(receivedBytes, sendObj.SendingDnsPacket); return(parsedBytes); }