[vlc-devel] [PATCH] src/network: try to write data again if EAGAIN is returned

Rémi Denis-Courmont remi at remlab.net
Fri Dec 13 20:40:46 CET 2013


On Fri, 13 Dec 2013 15:26:16 +0100, David Fuhrmann
<david.fuhrmann at gmail.com> wrote:
> AFAIK poll returns if some data can be sent. But what if you want to
send
> more data than the write buffer has place for? Is it guaranteed that
then
> write always returns the number of bytes written, but never EAGAIN?

Yes. Please read the documentation before you post patches and ask
questions.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list