Hi Gabriele

> SOCK_NONBLOCK is not defined in older versions of bionic, it's been
> added only recently:
> 
> https://android-review.googlesource.com/#/c/68291/

This will be useful for Gecko as well. Thanks for sharing!

Best regards
Thomas

> Since the underlying kernel supports it you have two options: either
> tweak the code not to use it (you can fallback have it fall back to
> fcntl() to set that parameter) or define it yourself to the appropriate
> value (which is O_NONBLOCK). The latter is a hack but should work.
> 
>  Gabriele
> 
> 
> 
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
> 

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to