Re: UDP packets



On May 16, 5:53 am, phil-news-nos...@xxxxxxxx wrote:
On 16 May 2007 00:11:50 -0700 Jack <junw2...@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.


I checked my system. The default UDP buffer setting is about 250K. If
I make
it larger, like 10M, is there any problem? Assume memory is enough.

Thanks.




.



Relevant Pages

  • Re: UDP packets
    ... | communicate with each other with UDP packets. ... | layer, then back to the application layer. ... They will not reach link ... the buffers resulting in some packets lost with no indication to the ...
    (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)