Code example for DatagramSocket

Methods: isClosed

0
    public int getServPort() { 
        return this.srvPort;
    } 
 
    public boolean isClosed() { 
        return srvSocket.isClosed();
    } 
 
    public void setTarget(String target) {
        this.target = target;
    } 
 
    public void setProxyHost(String host) {
        this.proxyHost = host;
    } 
 
    public void setProxyPort(int port) {
        this.proxyPort = port;
 
    }