1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

socket programming in c

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

  1. suresh_vaikuntam

    suresh_vaikuntam New Member

    Apr 9, 2008
    Likes Received:
    Trophy Points:
    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

    suresh vaikuntam

Share This Page