Concrete datagram and multicast socket implementation base class.
Note: This is not a public class, so that applets cannot call
into the implementation directly and hence cannot bypass the
security checks present in the DatagramSocket and MulticastSocket
classes.
author: Pavani Diwanji
Method Summary
native protected synchronized void
bind(int lport, InetAddress laddr) Binds a datagram socket to a local port.
Connects a datagram socket to a remote destination. This associates the remote
address with the local socket so that datagrams may only be sent to this destination
and received from this destination.
Parameters: address - the remote InetAddress to connect to Parameters: port - the remote port number
Join the multicast group.
Parameters: multicast - address to join. Parameters: netIf - specifies the local interface to receive multicastdatagram packets throws: IllegalArgumentException - if mcastaddr is null or is aSocketAddress subclass not supported by this socket since: 1.4
Leave the multicast group.
Parameters: multicast - address to leave. Parameters: netIf - specified the local interface to leave the group at throws: IllegalArgumentException - if mcastaddr is null or is aSocketAddress subclass not supported by this socket since: 1.4