开发者

How to know client system has disconnected network cable in WCF using callback?

I 开发者_如何学Goam developing one WCF server where i am using netTcp & dualWsHTTP binding. I have a scenario where the client instantly pull the network cable, so in this case how WCF server will know the client is no more


This is fundamentally impossible. With TCP/IP, the connection doesn't break when the network cable is pulled. It doesn't break until one side realizes that the other side is gone, which will usually happen when sending data. If the server isn't sending data, it won't notice the client isn't there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜