Package java.net
Class MulticastSocket
- java.lang.Object
-
- java.net.DatagramSocket
-
- java.net.MulticastSocket
-
public class MulticastSocket extends DatagramSocket
-
-
Constructor Summary
Constructors Constructor Description MulticastSocket()
MulticastSocket(int var0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddress
getInterface()
int
getTimeToLive()
void
joinGroup(InetAddress var0)
void
leaveGroup(InetAddress var0)
void
send(DatagramPacket var0, byte var1)
void
setInterface(InetAddress var0)
void
setTimeToLive(int var0)
-
Methods inherited from class java.net.DatagramSocket
close, connect, disconnect, getInetAddress, getLocalAddress, getLocalPort, getPort, getReceiveBufferSize, getSendBufferSize, getSoTimeout, receive, send, setDatagramSocketImplFactory, setReceiveBufferSize, setSendBufferSize, setSoTimeout
-
-
-
-
Constructor Detail
-
MulticastSocket
public MulticastSocket() throws IOException
- Throws:
IOException
-
MulticastSocket
public MulticastSocket(int var0) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getInterface
public InetAddress getInterface() throws SocketException
- Throws:
SocketException
-
getTimeToLive
public int getTimeToLive() throws IOException
- Throws:
IOException
-
joinGroup
public void joinGroup(InetAddress var0) throws IOException
- Throws:
IOException
-
leaveGroup
public void leaveGroup(InetAddress var0) throws IOException
- Throws:
IOException
-
send
public void send(DatagramPacket var0, byte var1) throws IOException
- Throws:
IOException
-
setInterface
public void setInterface(InetAddress var0) throws SocketException
- Throws:
SocketException
-
setTimeToLive
public void setTimeToLive(int var0) throws IOException
- Throws:
IOException
-
-