[vlc-devel] [PATCH] Windows store: don't call read() before poll() on network sockets
Denis Charmet
typx at dinauz.org
Mon Oct 21 18:12:29 CEST 2013
Le lundi 21 octobre 2013 à 03:05:01, Rafaël Carré a écrit :
> +#if VLC_WINSTORE_APP
> + /* With winrtsock winsocks emulation library, the first call to read()
> + * before poll() starts an asynchronous transfer and returns 0.
> + * Always call poll() first.
> + */
> + goto do_poll;
> +#endif
Why even restrict that to WinRT? You can poll first then read
everywhere.
Regards,
--
Denis Charmet - TypX
Le mauvais esprit est un art de vivre
More information about the vlc-devel
mailing list