05-28-2009 09:39 AM
My server side program is using LV, the client will use other language, how the client read the text sent by tcp. The server use flatten string. What function should the client program use.
Thanks,
05-28-2009 09:49 AM
05-28-2009 10:47 AM
Is this question related to little/big endian problematic? Read this it will give you info about it
http://digital.ni.com/public.nsf/allkb/97332426D63630EE862565070049FFBB
05-28-2009 11:47 PM
Just in server said I use the flatten string before tcp send.
At client side, I should use unflatten string after tcp receive, but now the client side is using c, what function should I call as the same of unflatten string.
Thanks.
05-29-2009 09:27 AM
05-29-2009 10:07 AM
05-30-2009 08:51 AM
I use the attached vi in server side to send the string out.
In the client side, received as below
hex
14000000 000c5443
50436c69 656e7420 524e2a90 0045
14000000 000<---no idea what is this
5443 50436c69 656e7420 524e<---is TCPClient RN
2a90 0045<---is *@@
I read the 'Type Descriptors' in the following link, but still no idea of it.
http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/type_descriptors/
Any suggestion?
05-30-2009 08:54 AM
05-30-2009 08:58 AM
05-30-2009 09:00 AM