03-30-2017 03:37 AM
Hi everyone,
I am developing a tcp client driver. Therfore, i used the TCPconnect function with the TCPclient callback parameter in it, which ables us to receive callback as DISCONNECT.
My question is : how to receive the TCPclient in both my driver code and my user code.
For exemple, I would like to receive the disconnection event in my driver code to process to some intern functions as log in file. But the user also want to receive that event to change its IHM like turn a led connection red.
I success to receive the callback in my dll code (as in the tcp client example).
I success to receive the callback in my user code (passing the tcpfuncpointer in higher level in parameter)
But i did not success to duplicate it (see pictures attached).
Is there a way to do it?
Thank you!
Solved! Go to Solution.
03-30-2017 09:41 AM
I finally found a solution to duplicate my tcp callback from my dll to my client ihm.
See the picture attached :