03-30-2025, 02:49 AM
What if you added something to the message being sent?
message = "Four score and seven years ago." or in qb... msg$ = "Four score and seven years ago."
31-characters.
Now if I use QB64 to count the characters len(msg$), assign that to a variable, use some divider like chr$(3), and combine it, I get... msg$ = "31
Four score and seven years ago." When the receiver gets the bytes, it recognizes chr$(3) (heart symbol) and converts the bytes received in front of it as the total characters to receive in the transmission before exiting the routine.
Could this type of logic be applied in your set of circumstances?
Pete
message = "Four score and seven years ago." or in qb... msg$ = "Four score and seven years ago."
31-characters.
Now if I use QB64 to count the characters len(msg$), assign that to a variable, use some divider like chr$(3), and combine it, I get... msg$ = "31

Could this type of logic be applied in your set of circumstances?
Pete