notifications system using "the files"? bad idea?

Monte Goulding monte at appisle.net
Wed Aug 23 16:37:44 EDT 2017


Hmm… by notifications do you mean IPC? Is this over the network or multiple processes on a single machine. For both cases sockets is probably easiest. On the single machine then you can just accept on localhost to avoid getting firewall dialogs:

local sPort

set the defaultNetworkInterface to “127.0.0.1”
accept connections on port 0 with message “NewConnection”
put it into sPort
set the defaultNetworkInterface to empty

PS ^ Depends on using LC 9

Cheers

Monte



More information about the use-livecode mailing list