I’m facing a problem with an integration to an instrument, we use to integrate this way:
socket_send_string("<command name=") socket_send_byte(34) socket_send_string("AssumeControl") socket_send_byte(34) socket_send_string(" />") socket_send_byte(10) data=socket_read_string() code_pos=str_find(data,"code") code_str=str_at(data,code_pos+6) code_num=to_num(code_str) socket_close()
With the string:
Sent as above with a newline in the end.
Now the integration seems not to accept to get the TCP packets sent in pieces. I would like to find a way to concatenate a string with double quotation marks inside and send i all in one go.
Is there a way?
I can only find the above as being supported and it feels strange that you can’t escape an "
Very happy for all help I can get in this matter
Seems like the forum has the same problem
My string in the post is not showing Trying again here to quote it:
command name=“AssumeControl” />