Re: epoll and multiple UDP multicast streams
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: Fri, 23 Jan 2009 18:09:16 -0800 (PST)
On Jan 23, 3:13 pm, george...@xxxxxxxxx wrote:
Hi,
If I subscribe to multiple, very active, multicast groups is there any
kind of starvation?
let say there are the following streams : A,B,C and D and I receive
data continuously
using epoll for finding the ready descriptors would there be a round
robin like read from the sockets or all the packets from A's buffer
and then B/C/D buffer etc?
thanks,
If they are the same socket, they will be read in the order they are
received. If the queue is full, normally new packets will be dropped
from any stream. Some implementations may drop old packets. But so far
as I know, they will all leave the receive queue with a consecutively-
received string of packets.
If you use multiple sockets, they each have their own receive queue.
It's up to you whether your program reads from them in round-robin or
all from one then all from the next.
DS
.
- References:
- epoll and multiple UDP multicast streams
- From: george13p
- epoll and multiple UDP multicast streams
- Prev by Date: epoll and multiple UDP multicast streams
- Next by Date: Re: white space problem in argument to system()
- Previous by thread: epoll and multiple UDP multicast streams
- Next by thread: Re: epoll and multiple UDP multicast streams
- Index(es):
Relevant Pages
|