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

Multiple requests in parallel on IOS get mixed up #26

Open
kmckee opened this issue Dec 18, 2015 · 3 comments
Open

Multiple requests in parallel on IOS get mixed up #26

kmckee opened this issue Dec 18, 2015 · 3 comments

Comments

@kmckee
Copy link

kmckee commented Dec 18, 2015

Hello,

First off, thanks for creating this plugin!

I believe there is an issue with the iOS code when multiple requests are kicked off concurrently.

The data events that I receive after opening multiple connections appear to be randomly swapping between the different connections. In other words, if I open up two connections (A and B), I'll get data from connection A in connection B's data event, and A's data will go to connection B's data event.

I have not tested on windows phone, but I have beat on the android code and I've not been able to recreate it there. It only appears to affect the iOS code.

I may try to dig into it, but I'm not really fluent in objective C.

Thanks,
Kyle

/cc @mohlsen @yaworsw @kwpeters

@ghost
Copy link

ghost commented Sep 1, 2017

+1 same issue here

1 similar comment
@kitolog
Copy link

kitolog commented Oct 23, 2017

+1 same issue here

@kitolog
Copy link

kitolog commented Oct 26, 2017

I fixed the issue, see details in my fork
https://github.com/kitolog/sockets-for-cordova

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

2 participants