B
Brian Mitchell
I have a number I must convert to a network long. I have been using
this thus far with success:
[number].pack("N")
for 65 it should return "\000\000\000A". It does so on my linux boxes,
an iMac with 10.3 but on my Powerbook with 10.4 it returns the reverse
"A\000\000\000". What is causing this. Did Apple mess up yet again
with including ruby? Could someone duplicate this on tiger?
I have installed the ruby fix pack from the Ruby On Rails HowTo.
Thanks,
Brian.
this thus far with success:
[number].pack("N")
for 65 it should return "\000\000\000A". It does so on my linux boxes,
an iMac with 10.3 but on my Powerbook with 10.4 it returns the reverse
"A\000\000\000". What is causing this. Did Apple mess up yet again
with including ruby? Could someone duplicate this on tiger?
I have installed the ruby fix pack from the Ruby On Rails HowTo.
Thanks,
Brian.