java.net
public class MulticastSocket extends DatagramSocket
Constructor and Description |
---|
MulticastSocket() |
MulticastSocket(int var0) |
MulticastSocket(SocketAddress var0) |
Modifier and Type | Method and Description |
---|---|
InetAddress |
getInterface() |
boolean |
getLoopbackMode() |
NetworkInterface |
getNetworkInterface() |
int |
getTimeToLive() |
void |
joinGroup(InetAddress var0) |
void |
joinGroup(SocketAddress var0,
NetworkInterface var1) |
void |
leaveGroup(InetAddress var0) |
void |
leaveGroup(SocketAddress var0,
NetworkInterface var1) |
void |
send(DatagramPacket var0,
byte var1)
Deprecated.
|
void |
setInterface(InetAddress var0) |
void |
setLoopbackMode(boolean var0) |
void |
setNetworkInterface(NetworkInterface var0) |
void |
setTimeToLive(int var0) |
bind, close, connect, connect, disconnect, getBroadcast, getInetAddress, getLocalAddress, getLocalPort, getLocalSocketAddress, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoTimeout, getTrafficClass, isBound, isClosed, isConnected, receive, send, setBroadcast, setDatagramSocketImplFactory, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoTimeout, setTrafficClass
public MulticastSocket() throws IOException
IOException
public MulticastSocket(int var0) throws IOException
IOException
public MulticastSocket(SocketAddress var0) throws IOException
IOException
public InetAddress getInterface() throws SocketException
SocketException
public boolean getLoopbackMode() throws SocketException
SocketException
public NetworkInterface getNetworkInterface() throws SocketException
SocketException
public int getTimeToLive() throws IOException
IOException
public void joinGroup(InetAddress var0) throws IOException
IOException
public void joinGroup(SocketAddress var0, NetworkInterface var1) throws IOException
IOException
public void leaveGroup(InetAddress var0) throws IOException
IOException
public void leaveGroup(SocketAddress var0, NetworkInterface var1) throws IOException
IOException
public void send(DatagramPacket var0, byte var1) throws IOException
IOException
public void setInterface(InetAddress var0) throws SocketException
SocketException
public void setLoopbackMode(boolean var0) throws SocketException
SocketException
public void setNetworkInterface(NetworkInterface var0) throws SocketException
SocketException
public void setTimeToLive(int var0) throws IOException
IOException