allocateUdpPortOrThrow

open override fun allocateUdpPortOrThrow(virtualDatagramSocketImpl: VirtualDatagramSocketImpl, portNum: Int): Int

Allocate a UDP port or throw exception if unavailable.

Always returns the requested port number in the test implementation.