Closed selimanac closed 5 years ago
Yes. It's not compatible with mac os. Maybe you can make a PR to fix it.
Sorry to hear that. I was planning to use it in the game engine. Thank you. Yes, maybe I can PR but I need a solid solution for now.
Just for an info... I manage the build it using this: https://gist.github.com/panzi/6856583 and
#ifndef SOCK_NONBLOCK
#include <fcntl.h>
# define SOCK_NONBLOCK O_NONBLOCK
#endif
and changing FD_CLOEXEC
But unfortunately can't connect to "ws://demos.kaazing.com:80/echo" ...
uwsc.c:696) tcp_connect failed: Protocol not supported
Is this lib compatible with MacOS, iOS or Android? I try to build it on MacOS but it fails. Also, is it threat safe?
with '-Wno-misleading-indentation'
with -Wno-binding-in-condition