Answer the question
In order to leave comments, you need to log in
How to create a client-server in C# with "Alive" connection?
It is necessary to write a client-server with the support of "live" sessions, that is, something like this architecture:
Server:
Answer the question
In order to leave comments, you need to log in
There is also an alternative to WCF duplex, but it has a number of features that need to be taken into account:
1. To use via http, it requires the creation of a separate reverse channel, so it is better to use net.tcp
2. To maintain open reverse channels, you must manually implement ping It's a
shame that for such a seemingly typical task Microsoft did not give a convenient mechanism out of the box, wcf but still you have to tweak and bring to mind
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question