0
je suis en train d'envoyer HL7 using vb.net avec MLLP, quelqu'un peut me dire qui est le mauvais de mon codeEnvoyer HL7 en utilisant VB.NET avec MLLP
Dim StartBlock As String = "0x0b" ' this is start block <SB>
Dim EndBlock As String = " 0x0d" ' this is end Block <EB>
Dim ReturnBlock As String = "0x1c" ' this is return <CR>
Msg = StartBlock & Msg & EndBlock & ReturnBlock
Dim networkStream As NetworkStream = tcpClient.GetStream()
If networkStream.CanWrite And networkStream.CanRead Then
Dim sendBytes As [Byte]() = Encoding.ASCII.GetBytes(Msg)
networkStream.Write(sendBytes, 0, sendBytes.Length)
end if
Je ne sais pas, quel est le problème? Avez-vous des erreurs? Qu'est-ce que le point final obtient? Vous ne nous avez fourni aucune information susceptible de nous aider à trouver un problème. –