A message for data waiting at a socket?

Dar Scott dsc at swcp.com
Sat Jan 3 00:26:46 EST 2004


On Friday, January 2, 2004, at 10:00 PM, Doug Lerner wrote:

> Neither one seems to have anything to do with the push of data from the
> other side, does it? I mean, in both cases you still have to invoke the
> "read from socket" command again somehow, like I am already doing, 
> wouldn't
> you?

Do the next read in the message handler unless the socket was closed.

The message handler will then be called each time some data is 
available.  For small messages, this is usually at the push.

Dar Scott




More information about the use-livecode mailing list