Martin
Martin

Reputation: 24318

Running a UDP server using WCF?

I have been investigating about creating a UDP server, at first i though i would have to get a dedicated server as i want to run EXE on the server but i currently have a shared server and i believe most ports are open.

I notice that with the WCF 4.5 (pre release) you can create UDP services, would these work in the same way as a UDP server hence a client could send messages to the UDP service in the same way (i.e. UDPClient class).

I presume this is available in 4.5 only and not 4 / 3.5?

What are the pros and cons of running a UDP server vs WCF service with UDP binding?

As far as hosting the UDP WCF service, can this be done on IIS like a standard WCF HTTP service?

Or a console application is required? Of course if a console app is required or something similar then this doesn't help me as I would still need a dedicated server to host the item. This is where i am a little confused.

Upvotes: 1

Views: 1951

Answers (1)

abatishchev
abatishchev

Reputation: 100328

Here's what I've read in What’s new in WCF 4.5? UDP transport support:

The binding is not supported in IIS/WAS, since there is still no UDP shared listener for WAS

Upvotes: 1

Related Questions