Hello All,
Which binding should I use to make my WCF application communicate through UDP instead of TCP?
Can someone point me to the right direction so that I could use UDP with WCF?
Thanks
Hello All,
Which binding should I use to make my WCF application communicate through UDP instead of TCP?
Can someone point me to the right direction so that I could use UDP with WCF?
Thanks
I believe you will have to write a custom transport to accomplish this. There is no builtin UDP support that I know of, except maybe for multicasting. Probably because TCP gives you certain guarantees about how a message is delivered that UDP lacks.
This is rather long winded, but looks comprehensive enough to help you get started. The majority of the article covers how to write your own UDP transport, and at the bottom it ties it in to WCF services.