Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Socket Programming
Message
From
16/01/2007 13:37:31
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
16/01/2007 12:00:15
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01185331
Message ID:
01186002
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform