Function UdpSocket_setMulticastTtl
Source pub unsafe extern "C" fn UdpSocket_setMulticastTtl(
self_: UdpSocket,
ttl: c_int,
) -> bool
Expand description
Sets the multicast TTL (number of hops) for this UDP socket
§Arguments
self - UDP socket instance
ttl - number of hops for multicast messages. Default is 1 (not routable!)
§Returns
true on success, false otherwise