socket programming

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:

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