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, setTrafficClasspublic MulticastSocket()
throws IOException
IOExceptionpublic MulticastSocket(int var0)
throws IOException
IOExceptionpublic MulticastSocket(SocketAddress var0) throws IOException
IOExceptionpublic InetAddress getInterface() throws SocketException
SocketExceptionpublic boolean getLoopbackMode()
throws SocketException
SocketExceptionpublic NetworkInterface getNetworkInterface() throws SocketException
SocketExceptionpublic int getTimeToLive()
throws IOException
IOExceptionpublic void joinGroup(InetAddress var0) throws IOException
IOExceptionpublic void joinGroup(SocketAddress var0, NetworkInterface var1) throws IOException
IOExceptionpublic void leaveGroup(InetAddress var0) throws IOException
IOExceptionpublic void leaveGroup(SocketAddress var0, NetworkInterface var1) throws IOException
IOExceptionpublic void send(DatagramPacket var0, byte var1) throws IOException
IOExceptionpublic void setInterface(InetAddress var0) throws SocketException
SocketExceptionpublic void setLoopbackMode(boolean var0)
throws SocketException
SocketExceptionpublic void setNetworkInterface(NetworkInterface var0) throws SocketException
SocketExceptionpublic void setTimeToLive(int var0)
throws IOException
IOException