创建一个多播套接字。
创建一个绑定在指定套接字地址的多播套接字。
Create a MulticastSocket bound to the specified socket address.
设置在此多播套接字发出的多播包的默认存活时间以便控制多播的作用域。
Set the default time-to-live for multicast packets sent out on this MulticastSocket in order to control the scope of the multicasts.
获得在套接字上发送的多播包的默认存活时间。
Get the default time-to-live for multicast packets sent out on the socket.
指定向此套接字上发送多播数据报的网络接口。
Specify the network interface for outgoing multicast datagrams sent on this socket.
指定向此套接字上发送多播数据报的网络接口。
Specify the network interface for outgoing multicast datagrams sent on this socket.
应用推荐