# TCP connection with STX and ETX

**URL:** <https://forum.inductiveautomation.com/t/tcp-connection-with-stx-and-etx/15218>\
**Category:** Ignition\
**Created:** [August 31, 2017, 1:40pm UTC](https://forum.inductiveautomation.com/t/tcp-connection-with-stx-and-etx/15218 "2017-08-31T13:40:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeus](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@zeus](https://forum.inductiveautomation.com/u/zeus)\
**Post date:** [August 31, 2017, 1:40pm UTC](https://forum.inductiveautomation.com/t/tcp-connection-with-stx-and-etx/15218/1 "2017-08-31T13:40:53Z")

</div>

Hi all  
I need to set up a TCP communication to a network device the is using the following delimiters:

- STX as start of telegram
- ETX as end of telegram

Is it possible to do it using a TCP Driver with character based delimiter? At now I am able to specify “STX” by putting “\u0002” as delimiter. This way is obviously not the correct one because the driver will expect a message like this  
Message contentent

Is is possible to do it? As an alternative is there another way to do it?

---

<div class="post-metadata">

**Author:** ![ataya](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@ataya](https://forum.inductiveautomation.com/u/ataya)\
**Post date:** [May 11, 2022, 6:43pm UTC](https://forum.inductiveautomation.com/t/tcp-connection-with-stx-and-etx/15218/2 "2022-05-11T18:43:57Z")

</div>

Hi there, did you resolve this? I am trying to add ETX as the character based delimiter with no luck so far. I have tried \x03, \x03, \cC and some other variations I forgot so far. I know this is a 5-year-old question with no answer, but I am hopeful that I’ll get an answer 🙂

---

<div class="post-metadata">

**Author:** ![ataya](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@ataya](https://forum.inductiveautomation.com/u/ataya)\
**Post date:** [May 11, 2022, 6:47pm UTC](https://forum.inductiveautomation.com/t/tcp-connection-with-stx-and-etx/15218/3 "2022-05-11T18:47:53Z")

</div>

Just found the answer right after replying here: [https://forum.inductiveautomation.com/t/driver-tcp-etx-characterbased/11985/3](https://forum.inductiveautomation.com/t/driver-tcp-etx-characterbased/11985/3)
