Re: UDP packets
- From: Jack <junw2000@xxxxxxxxx>
- Date: 16 May 2007 23:38:48 -0700
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.
.
- Follow-Ups:
- Re: UDP packets
- From: phil-news-nospam
- Re: UDP packets
- References:
- UDP packets
- From: Jack
- Re: UDP packets
- From: phil-news-nospam
- UDP packets
- Prev by Date: Re: Counting Syscalls
- Next by Date: Re: UDP packets
- Previous by thread: Re: UDP packets
- Next by thread: Re: UDP packets
- Index(es):
Relevant Pages
|