Tag Archives: Network

Reliable UDP

Right now, I decided to implement my own Reliable UDP. At first, I started to use ENet because the licensing on it was perfect and wouldn’t interfere with anything I decided to do with my work. I personally think ENet is a great library to use for reliable UDP; however, as I started integrating it into my project, I started realizing how serial it is. I would go into more detail, but wont because the ENet library is great for small projects — I need more.

So, I am writing my own library with concurrency in mind. This will be in c++, written for windows. Unfortunately, most people use windows, but converting to Unix or Linux would take only a few hours because most of the code is platform agnostic anyway. I was tempted to modify the ENet code, but the amount of work to modify it would be equal to or more than it would take to write my own library.

After two days, I have the basic foundation working, now I just need some fine tuning to complete it. I should be posting the code next week. I plan on adding encryption to the library eventually too. So, be on the look out.