Code example for MulticastSocket

Methods: getLocalPort

	public int getPort() { 
		return mPort;
	public int getLocalPort() { 
		return mSocket.getLocalPort();
	 * Returns an available buffer from the FIFO, it can then directly be modified.  
	 * Call {@link #commitBuffer(int)} to send it over the network.  
	 * @throws InterruptedException  
	public byte[] requestBuffer() throws InterruptedException { 
		mBuffers[mBufferIn][1] &= 0x7F;
		return mBuffers[mBufferIn];
	/** Sends the RTP packet over the network. */ 
Experience pair programming with AI  Get Codota for Java