Code example for MulticastSocket

Methods: close

0
        	return; 
        } 
         
        connected = false;
         
        socket.close();
        multicastLock.release();
         
        socket = null;
        multicastLock = null;
    } 
 
	public void setOnDataFromServerListener(DataFromServerListener dataFromServerListener) {
		this.dataFromServerListener = dataFromServerListener;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE