• Post Reply Bookmark Topic Watch Topic
  • New Topic

How Server knows that client has closed the socket....(Server Socket is not closed...  RSS feed

 
Ankit Varshney
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends

I am using java sockets,my client is writing on server socket and server processes that request and write back the result..., but after finishing the whole work client calls the close() on that server socket but that does not close the socket from server side....

Please tell me how server knows that client has closed the socket....

Client code is given below..........



please help me to solve this problem.....

[ September 25, 2008: Message edited by: Ankit Varshney ]
[ September 25, 2008: Message edited by: Ankit Varshney ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!