LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to close the application when it crashes in labwindows

Hello,

           In Labwindows 2005 TCP Server Client application, after establishing the connection from server to client , if I want to close the client application,  client application get crashes. 

 

Thanks

0 Kudos
Message 1 of 2
(3,637 Views)

Normally the communication is the opposite side: the server application register itself as a server and the client connect to it using ConnectToTCPServer (): are you doing something different?

Before closing, the client should disconnect from the server by calling DisconnectFromTCPServer (): do you call it?

Are you receving any error message in the crash? Is Run >> Break On >> Library errors menu item checked?

 

Can you post the relevant code?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,622 Views)