This content has been marked as final. Show 3 replies
It works. Honestly I can't understand why. Only once does it receive and twice it sends. I take it everytime you want to send more function calls with parms you keep building to the send and not the receive, is that right?
the receiving lc needs multiple functions defined if you want to cause the execution of multiple functions from the sending lc.
each send method can cause one function in the receiving lc to execute. so, if you want multiple functions to execute you need to use a different send() method for each one.
the connect method of the receiving lc only needs to execute once to open the connection. it will then continually listen to see if any of the lc functions are called.
the connect method can cause the same function to execute repeatedly (if repeated send() methods are executed) or different functions to execute (if different send methods naming those functions are executed).