TCP Client Abord-PowerOff Notification...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TCP Client Abord-PowerOff Notification...

1,898 次查看
SKumar
Contributor I
Hi all,
 
              I am using MCF52235 EVB on codewarrior environment.
              I am using uTaskser operating system.
 
              I have built up client server application.
              Problem is whenever client get shutdown in unusual way ( ie. Abort, Power off ) server not get
              notification that client is closed...which it get when we reset the board...
              
               Is anyone have any idea how to send notification to other board when any of two connected board get disconnected in unusual manner.
         
              Thank you.... 
 
 
Thanks,
kumar
标签 (1)
0 项奖励
回复
2 回复数

921 次查看
Nouchi
Senior Contributor II
Hi,

To detect which client is disconnected, server have to send periodically message to test client, if client does not respond in time, the server can consider the client disconnected.

Emmanuel
0 项奖励
回复

921 次查看
SKumar
Contributor I
Thanks a lot. That is great help.
 
kumar.
0 项奖励
回复