Re: Good UDP Networking Library
- From: Azazel <AzazelDev@xxxxxxxxx>
- Date: Fri, 17 Aug 2007 00:32:47 -0700
On 17 Aug., 03:41, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Thu, 16 Aug 2007 07:47:35 -0700, Azazel <Azazel...@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
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. I
If you want the functionality of TCP/IP, why not use TCP/IP? UDP is
for when it as OK to lose messages, when you DON'T have ongoing stream
state.
Actually, in the application I'm looking to shop this library for, we
will use TCP *and* UDP. For example, for login we will use TCP. There
are many messages where we don't mind whether packets arrive in order,
though. Also, it does not make sense for all messages to worry about
lost packets and do stuff like resending. In other words, we need fine-
grained control about which messages need which level of guarantees.
As we are going to generate a lot of traffic anyway, the difference in
header size between TCP and UDP is a significant cost factor.
Cheers,
AzazelDev
UDP itself is pretty simple. See my code for getting system time via
UDP inhttp://mindprod.com/products1.html#SETCLOCK.
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com
.
- References:
- Good UDP Networking Library
- From: Azazel
- Re: Good UDP Networking Library
- From: Roedy Green
- Good UDP Networking Library
- Prev by Date: Re: Good UDP Networking Library
- Next by Date: Problem using scp to copy a directory structure
- Previous by thread: Re: Good UDP Networking Library
- Next by thread: Re: $50 prize for the first person to break my code
- Index(es):
Relevant Pages
|