socket programming in c

Discussion in 'C' started by suresh_vaikuntam, Apr 9, 2008.

  1. suresh_vaikuntam

    suresh_vaikuntam New Member

    Joined:
    Apr 9, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello Everybody ,
    Iam working in client-sever programming in tcp/ip.In that Program server should always have to open the connection.The client for some interval should open the connection and then it should be closed.when iam closing the socket in client side the server should know it and it should not send the data.when client opens the connection it should send data.This is the scenario

    when iam closing the connection the server also closes the connection.how to overcome this difficulty.how does the server knows that the client has closed the connection and how it can be opened and to wait to send data when the client opens the connection

    please help me regarding this

    regard
    suresh vaikuntam
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice