Interface: UDPSocketOptions
Properties
dnsQueryType?
optionaldnsQueryType?:"ipv4"|"ipv6"
ipv6Only?
optionalipv6Only?:boolean
localAddress?
optionallocalAddress?:string
localPort?
optionallocalPort?:number
multicastAllowAddressSharing?
optionalmulticastAllowAddressSharing?:boolean
Permits address reuse, essential for multiple applications listening on the same multicast address/port. Default is false.
multicastLoopback?
optionalmulticastLoopback?:boolean
Whether packets sent to the multicast group are looped back to the sender. Default is true.
multicastTimeToLive?
optionalmulticastTimeToLive?:number
TTL for multicast packets. Each router hop decrements this value. Default is 1.
remoteAddress?
optionalremoteAddress?:string
remotePort?
optionalremotePort?:number
reuseAddr?
optionalreuseAddr?:boolean