Reply To: Tcpip packet question

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Tcpip packet question Reply To: Tcpip packet question

#57255
Anonymous
Participant

I have another 2 cents…

Just so you know, the reason that messages are transmitted with encoding is because it’s expected that you can’t rely on single packet transmissions.  So, your hl7 interfaces use mlp encoding characters for this purpose.

The driver works like this:  See that there are bytes in the read buffer and analyze them looking for the beginning character (0b) and trash any characters that are in front of it.  Scan the rest of the bytes looking for the ending character.  If there isn’t an ending character, wait for some time out period.  If time out happens then trash the buffer and reset.  If you receive more bytes continue to analyze.

When Cloverleaf times out waiting for a complete message it sends a message to the log, “No match, no more phrases to try”.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10