One other possibility I've contemplated: the socket routine never closes until the socket does. So on the initial socket, something like
on newClient sckt repeat while socket is among the lines of the openSockets read from socket sckt if it is not empty then doSomething it end if wait 2 seconds with messages end repeat end newClient But this is still a polling approached; I'd really like a message generated when something is written to an existing socket. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ 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