Stephan Møller
Stephan Møller

Reputation: 1315

C# - Connection oriented layer upon UDP

What I seek

I would like to know if anyone knows about efforts trying to make an connection oriented layer upon UDP in .Net. This would ease my work as I would not have to invent this all over again as I need to ensure the benefits of an network oriented connection (e.g. loss and order of received packets.)

Background

I want direct communication between devices behind NATs. Due to constraints with TCP, Hole Punching and NAT, I think I need to use UDP as the protocol for communicating between the devices (e.g. silverlight 4 apps or mobile devices). I made the hole UDP hole punching work, so based on this I have decided to go on with a UDP-solution.

Upvotes: 0

Views: 159

Answers (1)

nvoigt
nvoigt

Reputation: 77364

What you are looking for is called Reliable UDP. One implementation is here, I'm sure there are many more out there. Use google and pick the one you like best.

Upvotes: 1

Related Questions