Extra metadata passed to the data callback for each received datagram.
interface
udp.ReceiveFlags
interface ReceiveFlags
- truncated: boolean
trueif the datagram was larger than the receive buffer and was truncated by the kernel (MSG_TRUNC). Thedatapassed to the callback contains only the portion that fit in the buffer.