Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   socket programming in c (http://www.go4expert.com/forums/socket-programming-c-t9881/)

suresh_vaikuntam 9Apr2008 16:01

socket programming in c
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

All times are GMT +5.5. The time now is 04:08.