Pike v8.1 release 6

Method Protocols.DNS.server_base()->rec_data()


Method rec_data

protected void rec_data(mapping m, Stdio.UDP|object udp)

Description

Low-level DNS-data receiver.

This function receives the raw DNS-data from the Stdio.UDP socket or TCP connection object udp, decodes it, and dispatches the decoded DNS request to handle_query() and handle_response().