Yes Mike the client sends it as a byte array
byte[] byData= System.Text.Encoding.ASCII.GetBytes(szData);
m_clientSocket.SendBufferSize = 1024;
m_clientSocket.Send(byData, byData.Length,SocketFlags.None);
note that you convert the string into a byte array and that's what u are sending to the server.
>Hi Alexandre,
>
>The third party application that receives the string seemed to receive the string on a per character basis. Instead of receiving "Hello World" string in one line, it breaks the string per character like the example below
>H
>e
>l
>l
>o
>
>W
>o
>r
>l
>d
>
>With this, the 3rd party server app could not interpret the data. The data being sent is a string or a set of information that is formatted in HL7.
>
>I Can't figure out the problem. Any Idea?
Alexandre Palma
Senior Application Architect