(e.g. "ff:ff:ff:ff:ff:ff") into 6 different bytes (or separate char, but interpreting each "ff" as its hexadecimal value (255).
As this requires "casting" a char* into a byte/char/int, I don't know how to deal with this.
Can anyone assist me with this?
https://stackoverflow.com/questions/12772685/how-to-convert-mac-string-to-a-byte-address-in-c#12772708 is this good enough?
Обсуждают сегодня