Hi,
I need to convert DNS ascii representations (in query) of an IP address to dotted quad decimal format.
For example, the number 10 is represented in the packet as Hex 3130. (31 ASCII = 1 decimal, 30 ASCII=0 decimal).
Anyone know an easy, efficient way to convert this to 10 decimal?? Thanks!