Good UDP Networking Library
- From: Azazel <AzazelDev@xxxxxxxxx>
- Date: Thu, 16 Aug 2007 07:47:35 -0700
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
.
- Follow-Ups:
- Re: Good UDP Networking Library
- From: Roedy Green
- Re: Good UDP Networking Library
- Prev by Date: Eclipse colour schemes
- Next by Date: Re: Eclipse colour schemes
- Previous by thread: Eclipse colour schemes
- Next by thread: Re: Good UDP Networking Library
- Index(es):
Relevant Pages
|