IP address is too big?!

Blitz3D Forums/Blitz3D Programming/IP address is too big?!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Folks,

Loathe as I am to offer this thankless goit advice why not split it into it's four constituent parts, eg, a = 192, b = 13, c= 21 and d 18 then

ip = (a shl 24 ) or (b shl 16) or (c shl 8) or d

there you have a 32 bit number that can be decoded the other side by shifting the other way.

Later,

Jes