Hi all. 

I am trying to use open socket like this:

         put aConnection["dbhost"] & ":" & aConnection["dbport"] into theSocket
         open secure socket to theSocket with message socketConnected
         wait for messages
         put the openSockets into theOpenSockets
         close socket theSocket

I have this handler in the same script:
on socketConnected
   -- callBack for open socket commands
   put "connected!"
end socketConnected

The problem is, socketConnected never gets called. The connection works because 
theOpenSockets contains the connection as it should, but I never get the 
callback. What am I missing? 

Bob S



_______________________________________________
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