Code example for DatagramSocket

Methods: getLocalPort

0
	 
	public void demute(){ 
		muteflag = false;
	} 
	public int getport(){ 
		return udp_socket.getLocalPort();
	} 
	public void free(){ 
		m_keep_running = false;
		m_in_rec.stop();
		m_in_rec.release();
		udp_socket.close();
		m_in_rec = null;
		m_in_bytes = null;
		encoder.free();
	}	 
}