DNSDiscardName Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
DNSDiscardName Function
C
static void DNSDiscardName();
Description

This function reads a name string from the DNS socket. Each string consists of a series of labels. Each label consists of a length prefix byte, followed by the label bytes. At the end of the string, a zero length label is found as termination. If name compression is used, this function will automatically detect the pointer and discard it.

Preconditions

UDP socket is obtained and ready for reading a DNS name

Returns

None

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.