# example code for a tcp client to serial connection

**URL:** <https://forums.digi.com/t/example-code-for-a-tcp-client-to-serial-connection/5302>\
**Category:** NET+OS\
**Created:** [May 31, 2007, 4:12pm UTC](https://forums.digi.com/t/example-code-for-a-tcp-client-to-serial-connection/5302 "2007-05-31T16:12:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![embweb](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@embweb](https://forums.digi.com/u/embweb)\
**Post date:** [May 31, 2007, 4:12pm UTC](https://forums.digi.com/t/example-code-for-a-tcp-client-to-serial-connection/5302/1 "2007-05-31T16:12:12Z")

</div>

where can i find a basic example of a tcp client connection that sends/receives data from a tcp socket to the serial port?

---

<div class="post-metadata">

**Author:** ![compie](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@compie](https://forums.digi.com/u/compie)\
**Post date:** [June 25, 2007, 1:35pm UTC](https://forums.digi.com/t/example-code-for-a-tcp-client-to-serial-connection/5302/2 "2007-06-25T13:35:35Z")

</div>

C:  
etos71\src\examples  
atelserl\

Or from Digi ESP for NET+OS:  
File -\> New -\> NET+OS sample project -\> Telnet Server API Sample

Message was edited by: compie
