7

I am in need of a reliable UDP library. The one I wrote does not work too well and I would like to see what a 3rd party can do in the same circumstances.

Enet will not work because of some "interesting" compile issues in xcode (I have another question on stack overflow about that).

Any suggestions for a portable, reliable UDP library would be greatly appreciated.

shodanex
  • 14,975
  • 11
  • 57
  • 91
EToreo
  • 2,936
  • 4
  • 30
  • 36
  • 6
    @Pavel Maybe he means a *reliable library*. – Khaled Alshaya May 30 '10 at 20:23
  • 10
    @PavelRadzivilovsky : No, "reliable UDP library" is not an oxymoron. He means a protocol built on top of UDP which guarantees delivery and order of network packets. Such a protocol still gives less latency than TCP, because TCP does bandwidth probing and buffering. –  May 30 '10 at 22:07

4 Answers4

6

Try boost::asio or ACE. I would recommend the former over the latter.

Emile Cormier
  • 28,391
  • 15
  • 94
  • 122
  • A few years ago, whenever I'd Google "ace", the ACE library would appear on the first page of hits. It's now on page 7. It seems like it's being superseded by boost::asio. – Emile Cormier May 30 '10 at 20:18
  • Has anyone implemented a CORBA ORB on top of boost::asio yet? – Emile Cormier May 30 '10 at 20:25
  • 1
    Thanks for the suggestion. I marked it as the answer. But we eventually get Enet working in our xcode project. It took all day, but we are good to go now. Thanks again. – EToreo May 31 '10 at 02:46
5

UDT udt.sourceforge.net/

nicboul
  • 101
  • 1
  • 4
2

I've always felt that the Plan 9 networking libraries were a major upgrade over their Unix counterparts. There is a Unix backport.

Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
1

P2engine is a flexible and efficient platform for making p2p system development easier. Reliable UDP, Message Transport , Message Dispatcher, Fast and Safe Signal/Slot...

https://sourceforge.net/projects/p2engine/

guangzhuwu
  • 11
  • 1