Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Socket Programming
Message
De
16/01/2007 13:37:31
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
16/01/2007 12:00:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01185331
Message ID:
01186002
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform