Hello,
I'm not sure I quite understand what you're trying to do. To me, "in-band characters" are the only things that really make sense over a TCP/IP connection--a socket is simply opened to a remote device and you send whatever data bytes are appropriate for the device over the connection. If you are literally trying to send 5 characters, "\,2,7,[, and B" and do not want the 27 interpretted as a hex code, then send this in VISA Interactive control: "\\27[B" and observe that the return count will be 5 rather than 3.
If I did not appropriately answer your question, please respond here.
Scott B.
National Instruments
Applications Engineering