Re: Good UDP Networking Library



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


.



Relevant Pages

  • NFS problem with recent 2.6 kernels (also serial console weirdness)
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... mounted filesystem with ordered data mode. ... Mounted root (ext3 filesystem) readonly. ...
    (Linux-Kernel)
  • Solaris 9 <---> linux (2.6.8) NFS file locking problem?
    ... to the same file placed on nfs filesystem. ... 100000 4 tcp 111 portmapper ... 100000 4 udp 111 portmapper ... 100021 1 udp 4045 nlockmgr ...
    (SunManagers)
  • Urgent help with Secure NFS.
    ... have that option - I'm just attempting to tunnel all NFS traffic to the ... 100000 4 tcp 111 rpcbind ... 100000 4 udp 111 rpcbind ... 100021 1 tcp 49153 nlockmgr ...
    (SSH)
  • Re: nfs error
    ... kernel: nfs: server ... So if your system uses ypbind be sure that is working properly before ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ...
    (comp.sys.sun.admin)
  • Re: Incoherent E-mails
    ... The Novell crap was originally run on IPX ... The term in the early-mid nineties was "packet storm". ... The original advantage of UDP was ... > 60 bytes for TCP. ...
    (alt.computer.security)