# node:dgram

> Node's UDP socket module for IPv4 and IPv6.

`node:dgram` matches Node for `udp4` and `udp6` sockets; `--allow-net` and `--deny-net` apply under the
[sandbox](https://elide.help/docs/sandbox).
