Home Contents | # resolver:traceReceive | Rawio | Core4 Lua Event System

## SYNOPSIS

function resolver:traceReceive(ip, port, msg) ... end

## DESCRIPTION

DEBUG FUNCTION

Optional callback that can be provided by the application.

Called for each DNS UDP packet that is being received. The arguments give the IP address and port number of the server and the raw byte stream of the message.

To make sense of the byte stream, use resolver:dump() or resolver:decode().

## SEE ALSO

resolver:dump(), resolver:decode(), resolver:traceTransmit()