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

## SYNOPSIS

function resolver:traceTransmit(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 sent. 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:traceReceive()