# Struggle to close the socket in a package

**URL:** <https://techcommunity.softwareag.com/t/struggle-to-close-the-socket-in-a-package/124449>\
**Category:** Forum\
**Tags:** Discussions-on-this-Forum-System, New-User-Welcome-and-Introductions\
**Created:** [September 26, 2006, 4:13pm UTC](https://techcommunity.softwareag.com/t/struggle-to-close-the-socket-in-a-package/124449 "2006-09-26T16:13:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [September 26, 2006, 4:13pm UTC](https://techcommunity.softwareag.com/t/struggle-to-close-the-socket-in-a-package/124449/1 "2006-09-26T16:13:24Z")

</div>

I have a one java service which internally do start up the package (open the socket connection), while doing the shutdown (closing the socket connection), i am not able to close that socket connection.

any idea… ☹

---

<div class="post-metadata">

**Author:** ![Avik\_Dey1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Avik\_Dey1](https://techcommunity.softwareag.com/u/Avik_Dey1)\
**Post date:** [April 7, 2021, 7:22pm UTC](https://techcommunity.softwareag.com/t/struggle-to-close-the-socket-in-a-package/124449/2 "2021-04-07T19:22:15Z")

</div>

Hi,

What is the error message you are receiving ?

Thanks  
Avik
