WCF service and broken connection (rudolph ?) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 4

WCF service and broken connection (rudolph ?)

I am busy developing kind of a client/server application. For me it is is really important that the server and the client notice if the one or the other has died, has a broken connection or is shutdown. Is this possible with a WCF-service ? (I am still thinking that a collection of sockets it the best option for me, but have not learned enough of WCF-service's)

15th Oct 2018, 8:49 PM
sneeze
sneeze - avatar
2 ответов
+ 1
i'm not familiar with those, but normally when connection failed the code will throw an error. what you need to do is catch the error and handle it properly.
29th Oct 2018, 10:33 AM
Taste
Taste - avatar
+ 1
Thank you foto your reply!
4th Nov 2018, 9:49 PM
sneeze
sneeze - avatar