Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket connect() will block the thread #28

Open
starburst997 opened this issue Sep 29, 2017 · 0 comments
Open

Socket connect() will block the thread #28

starburst997 opened this issue Sep 29, 2017 · 0 comments

Comments

@starburst997
Copy link

Currently connect() will block the current thread, so if your server is having high latency it could be waiting for this for a few seconds or until timeout (around 30sec?).

Seems fine on Flash didn't try it on HTML5 but definitely an issue on hxcpp target.

My plan to work around this is creating a wrapper over this class and use a Thread?

@starburst997 starburst997 changed the title Socket connect() wil block the thread Socket connect() will block the thread Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant