Socket reading problem
Mark Wieder
mwieder at ahsoftware.net
Sun Feb 19 21:50:50 EST 2012
Len-
Sunday, February 19, 2012, 5:25:32 PM, you wrote:
>> LC doesn't know from uints. Your best bet is to read them as chars (or
>> more precisely as bytes), as you're doing in your second example.
>>
> I thought this was true until I looked it up in the dictionary. It
> states that those are valid chunkTypes. Has that changed from 4.5 to
> 5.0? To be honest, I don't remember seeing that there before today and
> it would have been handy. Also available: int, int2, int4, uInt, uInt2,
> uInt4 - at least according to the dictionary.
Well whaddya know about that! I'm gonna have to rtfm one of these
days. Grasping at straws here, you specified "uInt2s" rather than
"uint2" ... it's possible that the plural form doesn't work.
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list