Question

The PhysicalAddress (used for MAC addresses) class supports variable-length byte arrays. As far as I know MAC addresses are always 48-bit long.

Is there a reason why the PhysicalAddress allows any lenghts?

Was it helpful?

Solution

Your assumption that physical addresses are always 48 bits long is incorrect. EUI-64 addresses are 64 bits long, for instance.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top