On Wed, 18 Sep 2013 22:15:45 +0200, Rafaël Carré <funman at videolan.org> wrote: > Wait until poll() signaled that data is available This does not work since read() dequeues the data before poll() sees it. -- Rémi Denis-Courmont Sent from my collocated server