bobsneidar at iotecdigital.com
Mon Jun 29 17:42:03 EDT 2020
I’m trying to get sockets working. The host is working, but I am not getting the message to trigger. Here’s the basic code:
put "test" into tPayLoad
open socket to "localhost:8085"
write tPayload to socket "localhost:8085"
-- socket handlers
accept connections on port 8085 with message "ConnectionMade"
on ConnectionMade pIPAddress
read from socket pIPAddress with message "dataReceived"
on dataReceived pSocket
ConnectionMade gets called, but dataReceived does not.
More information about the use-livecode