# socket programming

**URL:** <https://community.unix.com/t/socket-programming/193936>\
**Category:** IP Networking\
**Created:** [April 21, 2008, 8:18am UTC](https://community.unix.com/t/socket-programming/193936 "2008-04-21T08:18:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureshvaikuntam](https://community.unix.com/letter_avatar/sureshvaikuntam/32/6_22734026db12803ebb3e059622ac3534.png) [@sureshvaikuntam](https://community.unix.com/u/sureshvaikuntam)\
**Post date:** [April 21, 2008, 8:18am UTC](https://community.unix.com/t/socket-programming/193936/1 "2008-04-21T08:18:24Z")

</div>

Hello Everyone

Iam working on tcp/ip programming.with some time interval server has to send data.client has to close the connection and to open the connection between the time interval.this is the scenario

when iam closing the connection in client side the connection terminates.how to overcome this

regards  
suresh.v

:eek:

---

<div class="post-metadata">

**Author:** ![ramen\_noodle](https://community.unix.com/letter_avatar/ramen_noodle/32/6_22734026db12803ebb3e059622ac3534.png) [@ramen\_noodle](https://community.unix.com/u/ramen_noodle)\
**Post date:** [April 21, 2008, 8:38am UTC](https://community.unix.com/t/socket-programming/193936/2 "2008-04-21T08:38:36Z")

</div>

If the server terminates due to sigpipe you may need to handle the signal. Otherwise it sounds like pretty normal behavior.
