Class java.net.DatagramSocket (1.0)


public class DatagramSocket extends Object {
  // Public Constructors
    public DatagramSocket( ) throws SocketException;
    public DatagramSocket(int port) throws SocketException;
    public DatagramSocket(int port, InetAddress laddr) throws SocketException;
  // Public Instance Methods
    public void close( );
    public InetAddress getLocalAddress( );
    public int getLocalPort( );
    public synchronized int getSoTimeout( ) throws SocketException;
    public synchronized void receive(DatagramPacket p) throws IOException;
    public void send(DatagramPacket p) throws IOException;
    public synchronized void setSoTimeout(int timeout) throws SocketException;
}