Good UDP Networking Library



Hi,

can anyone point me to a good, well-performing high-level-abstraction
UDP networking library for Java?
I've read through many posts and tutorials about NIO, but this is not
what I'm looking for. Using NIO would still require a significant
investment in time and effort from my side while I'm looking for a
nicely pluggable component.

I'm thinking about something that encapsulates the low-level stuff
(actually opening UDP sockets, encoding data etc.) and provides me
with functionality akin to TCP, only over UDP. Ideally, I'd be able to
specify via a strategy pattern or something how 'reliable' the
connection is.

The library should work asynchronously (at least to its outside
interface) and either call observers or fill/read queues. Ideally, it
should be thread-safe in those data-structures exposed to the outside,
using intelligent sync mechanisms (ie, not critical sections for
everything). So, eg, if there was an in/out-queue interface, the
concurrency issues with reading/writing to those queues should be
implemented with something like a read-write-lock.

The library must perform equally or nearly equally well on both
Windows (XP and Vista) and OSX. I mention this as the library might
wrap platform-dependent C/C++ code.

I'm interested in both OS and commercial libraries. Actually, unless
the OS library is mature and has a sizable community, I'd probably
prefer a commerical license with support.

Do any of you guys have good pointers for me? I've been googling, but
without much success.

Many thanks in advance,
AzazelDev

.



Relevant Pages

  • Re: C++ library for numerical calculations
    ... > (ordinary differential equations, matrices, mathematical statistics, ... it's rather hard to say whether these libraries are the most popular ... Anyway a very popular free one is the GNU Scientific Library ... Regarding the commercial libraries one ...
    (comp.lang.cpp)
  • Re: attempt to build a widget library
    ... have a very easy API and be Mozilla or LGPL open-source. ... > I want to do this because as far as I can see, only commercial libraries ...
    (comp.windows.x)
  • attempt to build a widget library
    ... have a very easy API and be Mozilla or LGPL open-source. ... I want to do this because as far as I can see, only commercial libraries ...
    (comp.windows.x)