08-26-2022 11:54 AM
Hi,
I am trying to implement TCP server and client data transfers, however when the callback function is not being triggered in my code. I am able to run the example CVI program server.cws and the client is able to connect to the server i create with the example application. I copied the same exact code and tried to incorporate it into my code in order to gain functionality, but the client does not connect to the server. I know that the server is created on the proper port because I am not able to create another server on that port. The client is not triggering the callback function or the callback function might not be seeing it happen. I have tried running RunUserInterface() and ProcessSystemEvents(), none of which work. Any ideas?
08-28-2022 05:01 PM
A few questions come to my mind about your post, mainly because you are not clear in your assertions so it's difficult to try guessing what's happening: first you say that the client is not connecting to the server, next that you don't see the TCP callback firing, which should be obvious if no connection is established.
So here are the questions: