Optional
udpThe port to bind the UDP socket to.
Should be a port that is unlikely to be used by other applications.
The type of UDP socket to create, either "udp4" for IPv4 or "udp6" for IPv6.
It should match the IP version of the udpBindAddress
.
The address to bind the UDP socket to. Default is "localhost"
Example: "localhost" or "127.1.2.3" (in which case
udpSocketType
should be "udp4") or "::1" (in which caseudpSocketType
should be "udp6").Note: Using "localhost" is generally safe as it resolves to both IPv4 and IPv6 loopback addresses, but if you want to be certain about the IP version, specify the address explicitly.