Hello all.
I have a main app that on occassion needs to have an object send an email, SMS or other update to one or more addresses. My question is, if I want synchronous communication, so that the main app is not waiting for the other app to finish, how is that accomplished? I understand that normally an IPC Socket is used, but when the main sends a command via the IPC Socket does it sit as a variable and use a timer to execute, or does it just execute? It seems to me that a timer is necessary so the communication loop is completed thereby allowing the synchronous communication to exist. Am I correct?
Alternatively, is it better for the other app to periodically read a database or other means, to check for a flag/data to send xyz info in abc manner?
Thoughts, opinions and guidance are appreciated!
Thank you,
Tim