java.net.DatagramSocketImpl (JDK 1.1)
This abstract class defines the methods necessary to implement communication through datagram and multicast sockets. System developers may create subclasses of this class when they need to implement datagram or multicast sockets in a nonstandard network environment, such as behind a firewall or on a network that uses a nonstandard transport protocol.
Normal applications never need to use or subclass this class.
public abstract classDatagramSocketImplextends Object { //Default Constructor: public DatagramSocketImpl()//Protected Instance Variablesprotected FileDescriptorfd; protected intlocalPort; //Protected Instance Methodsprotected abstract voidbind(intlport, InetAddressladdr) throws SocketException; protected abstract voidclose(); protected abstract voidcreate() throws SocketException; protected FileDescriptorgetFileDescriptor(); protected intgetLocalPort(); protected abstract bytegetTTL() throws IOException; protected abstract voidjoin(InetAddressinetaddr) throws IOException; protected abstract voidleave(InetAddressinetaddr) throws IOException; protected abstract intpeek(InetAddressi) throws IOException; protected abstract voidreceive(DatagramPacketp) throws IOException; protected abstract voidsend(DatagramPacketp) throws IOException; protected abstract voidsetTTL(bytettl) throws IOException; }