LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

example tcp client code sought

I have the example tcpclien.prj file, but the example is not clear
enough for me to understand. Chapter 7 of the 'Standard Libraries
Reference Manual' seems incomplete. After spending over a day on this
and introducing lot's of print statements, I'm only a little closer to
understanding how to communicate with the server. It appears that the
client is connecting, but it doesn't seem to communicate after that.

Does anyone have a simple client that shows how to communicate after
the connection is made. The transaction I'm looking for is one where
the client sends a message to the server and waits for a reply. The
code I wish to write will have three primary functions:

1. connect to server
2. send a few initialization message
s
3. enter a forever loop, sending and receiving messages.

Seems simple enough, but the example included with LabWindows/CVI
doesn't work and is insufficiently documented for me to work it out.

Thanks.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 1
(4,969 Views)