KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > net > MulticastSocket

java.net
Class MulticastSocket

java.lang.Object
  extended by java.net.DatagramSocket
      extended by java.net.MulticastSocket
See Also:
Top Examples, Source Code

public InetAddress getInterface()
                         throws SocketException
See Also:
setInterface(java.net.InetAddress)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getLoopbackMode()
                        throws SocketException
See Also:
setLoopbackMode(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public NetworkInterface getNetworkInterface()
                                     throws SocketException
See Also:
setNetworkInterface(NetworkInterface)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTimeToLive()
                  throws IOException
See Also:
setTimeToLive(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public byte getTTL()
            throws IOException
See Also:
setTTL(byte)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void joinGroup(InetAddress mcastaddr)
               throws IOException
See Also:
SecurityManager.checkMulticast(InetAddress), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void joinGroup(SocketAddress mcastaddr,
                      NetworkInterface netIf)
               throws IOException
See Also:
SecurityManager.checkMulticast(InetAddress), IllegalArgumentException, SecurityException, setNetworkInterface(NetworkInterface), setInterface(InetAddress)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void leaveGroup(InetAddress mcastaddr)
                throws IOException
See Also:
SecurityManager.checkMulticast(InetAddress), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void leaveGroup(SocketAddress mcastaddr,
                       NetworkInterface netIf)
                throws IOException
See Also:
SecurityManager.checkMulticast(InetAddress), IllegalArgumentException, SecurityException, setNetworkInterface(NetworkInterface), setInterface(InetAddress)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MulticastSocket()
                throws IOException
See Also:
DatagramSocket.setReuseAddress(boolean), SecurityManager.checkListen(int), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MulticastSocket(int port)
                throws IOException
See Also:
DatagramSocket.setReuseAddress(boolean), SecurityManager.checkListen(int), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MulticastSocket(SocketAddress bindaddr)
                throws IOException
See Also:
DatagramSocket.setReuseAddress(boolean), SecurityManager.checkListen(int), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void send(DatagramPacket p,
                            byte ttl)
          throws IOException
See Also:
SecurityManager.checkConnect(java.lang.String, int), SecurityManager.checkMulticast(java.net.InetAddress, byte), DatagramSocket.receive(java.net.DatagramPacket), DatagramSocket.send(java.net.DatagramPacket), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setInterface(InetAddress inf)
                  throws SocketException
See Also:
getInterface()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLoopbackMode(boolean disable)
                     throws SocketException
See Also:
getLoopbackMode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setNetworkInterface(NetworkInterface netIf)
                         throws SocketException
See Also:
getNetworkInterface()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setTimeToLive(int ttl)
                   throws IOException
See Also:
getTimeToLive()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void setTTL(byte ttl)
            throws IOException
See Also:
getTTL()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags