Len-

Sunday, February 19, 2012, 3:34:41 PM, you wrote:

> I'm trying to read data from a socket.  The data is Modbus/TCP.  The
> first routine I tried is

> read from socket pSock for 3 uInt2s

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.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to