Using sockets

Peter Haworth pete at
Tue Jan 14 12:22:31 EST 2014

Diving into yet another new are of Livecode for me - sockets.

My server issues an accept statement for port 10100.  My client opens
socket 10100.  WHen the client connects to the server, the port number I
get is not 10100, but some other number which changes on each connection.
 When sending messages between the client and server, which of these
numbers should I use?

My server uses read from socket with a callback message specified.  I have
a socketTimeout message handler which fires every time the
socketTimeoutInterval expires.  I thought the "read from socket with
message" command was blocking and everything would stop until a message is
received.  If that's the case, it seems odd that these timeouts should

lcSQL Software <>

More information about the Use-livecode mailing list