About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
web Connection crashes.
Author Message
Aimless Offline
Member

Post: #1
web Connection crashes.
Connection class isn't usable in web because it internally calls block() which crashes with error "bad ioctl syscall 21537 "
(it somewhat known issue with emscripten but isn't fixed in because websockets anyways are async)
my suggested fix:
PHP Code:
//(Connection.cpp:720):
Bool Socket::block(Bool on)
{
#if WEB
    
return !on;
#else
... original code
#endif

(This post was last modified: 11-09-2017 09:16 AM by Aimless.)
11-09-2017 09:16 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: web Connection crashes.
Thank you smile
That's a perfect fix, I'll include it in the next release.
11-09-2017 09:26 AM
Find all posts by this user Quote this message in a reply
Post Reply