Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5365

Duplicate TCPClient callback?

$
0
0

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!


Viewing all articles
Browse latest Browse all 5365

Trending Articles