[vlc-devel] [PATCH] net_Read: don't exit loop if first read returned 0

Rafaël Carré funman at videolan.org
Thu Sep 19 14:44:26 CEST 2013

Le 19/09/2013 14:30, Denis Charmet a écrit :
> Le jeudi 19 septembre 2013 à 02:09:56, Rafaël Carré a écrit :
>> Just leave already and get help, you're crazy.
> Starting a war, won't solve the problem...

Sorry if you see this as a war but I am very fed up of still being
treated like crap after we made a deal with Rémi at VDD to help him.

He seems OK with that so I don't see why I should be courteous? As you
can see in this thread this brings me nowhere.

Not so long ago he mentioned honesty should prevail above anything else,
well that's an honest message from my part, I truly think he's crazy and
needs healing.

Hopefully that will happen and he'll continue VLC and be benefic for the
project, because I can't see this being the case today.

Obviously there's nothing our team can do else it'd have been done years

> In what case can you recieve
> an empty packet? I suppose it's possible but it doesn't seem very
> likely.

The case is using a ws2_32 emulation library with WinRT sockets.

Asynchronous receive is started either on the first call to select,
either on the first call to recv.

If we use recv first the library returns 0 and starts the transfer, then
select will return as soon as some data is ready to be read.

Thanks for not mocking my english skills in your reply, that's
appreciated and quite rare at least in this thread.

More information about the vlc-devel mailing list