# Problems with tcpConnections in URScript

**URL:** <https://forum.universal-robots.com/t/problems-with-tcpconnections-in-urscript/23288>\
**Category:** Technical Questions\
**Created:** [August 16, 2022, 11:35am UTC](https://forum.universal-robots.com/t/problems-with-tcpconnections-in-urscript/23288 "2022-08-16T11:35:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![terryc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/terryc/32/3006_2.png) [@terryc](https://forum.universal-robots.com/u/terryc)\
**Post date:** [August 16, 2022, 11:51pm UTC](https://forum.universal-robots.com/t/problems-with-tcpconnections-in-urscript/23288/2 "2022-08-16T23:51:35Z")

</div>

The script manual isn’t super clear on this hey. I did find this comment:

> [@When socket\_close() is called?](https://forum.universal-robots.com/t/when-socket-close-is-called/3368/2):
>
> When a program using sockets is stopped, all remaining open sockets are closed. However it is good practice, to use socket\_close() yourself to ensure proper housekeeping.

---

_[View the full topic](https://forum.universal-robots.com/t/problems-with-tcpconnections-in-urscript/23288)._
