Join a multicast group.
Search the reference...
/
method
The multicast group address
Optional interface address to use
true on success
Join a source-specific multicast group.
The source address
The multicast group address
Optional interface address to use
true on success
Leave a multicast group.
The multicast group address
Optional interface address to use
true on success
Leave a source-specific multicast group.
The source address
The multicast group address
Optional interface address to use
true on success
Enable or disable SO_BROADCAST socket option.
Whether to enable broadcast
The enabled value
Set the IP_MULTICAST_IF socket option to specify the outgoing interface for multicast packets.
The address of the interface to use
true on success
Enable or disable IP_MULTICAST_LOOP socket option.
Whether to enable multicast loopback
The enabled value
Set the IP_MULTICAST_TTL socket option.
Time to live value for multicast packets
The TTL value
Set the IP_TTL socket option.
Time to live value
The TTL value
Extra metadata passed to the data callback for each received datagram.
true if the datagram was larger than the receive buffer and was truncated by the kernel (MSG_TRUNC). The data passed to the callback contains only the portion that fit in the buffer.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →SocketHandler.data method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method bun.udp.SocketHandler.data | Bun