Re: UDP packets



On 16 May 2007 00:11:50 -0700 Jack <junw2000@xxxxxxxxx> wrote:

| Several application processes run on the same machine. They
| communicate with each other with UDP packets. Why some UDP packets are
| lost? The destination address of the UDP packets is the machine's IP
| address, not 127.0.0.0. Since the application processes are on the
| same machine, the UDP packets go from application layer to network
| layer, then back to the application layer. They will not reach link
| layer, right?

If they send a burst of too many UDP packets at one time, it could flood
the buffers resulting in some packets lost with no indication to the
sender process at the time of send(). I would not expect the packets to
reach the link layer, though. But it might get closer than if an address
bound to the local interface were used.

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2007-05-16-0749@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • Re: UDP packets
    ... | communicate with each other with UDP packets. ... | layer, then back to the application layer. ... the buffers resulting in some packets lost with no indication to the ... The default UDP buffer setting is about 250K. ...
    (comp.os.linux.development.system)
  • Re: UDP packets
    ... communicate with each other with UDP packets. ... The destination address of the UDP packets is the machine's IP ... certainly be lost. ... layer, then back to the application layer. ...
    (comp.os.linux.development.system)
  • Re: UDP packets
    ... Why some UDP packets are lost? ... from application layer to network layer, ... error conditions if the sender is sending to fast. ...
    (comp.unix.programmer)
  • Re: UDP packets
    ... Why some UDP packets are lost? ... from application layer to network layer, ... The implementation blocks the sender or returns a WOULDBLOCK ... The implementation drops datagrams. ...
    (comp.unix.programmer)
  • Re: UDP packets
    ... Why some UDP packets are lost? ... from application layer to network layer, ... There has to be a buffer somewhere. ... The implementation drops datagrams. ...
    (comp.unix.programmer)