获得在套接字上发送的多播包的默认存活时间。
Get the default time-to-live for multicast packets sent out on the socket.
设置在此多播套接字发出的多播包的默认存活时间以便控制多播的作用域。
Set the default time-to-live for multicast packets sent out on this MulticastSocket in order to control the scope of the multicasts.
在多播中,信息包能被送到网络组里的各个地址,而不是单个的地址。
In multicasting, packets can be sent to groups of Network addresses, instead of individual addresses.
应用推荐