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

Сorrectly terminating the socket connection Android 7+ #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hirurgo
Copy link

@Hirurgo Hirurgo commented Feb 19, 2019

On our project we are faced with the problem of correctly terminating the socket connection on android above version 7.
This fix will help to avoid this problem.

@Hirurgo
Copy link
Author

Hirurgo commented May 13, 2019

more details

We have two mobile device(both uses react-native-tcp) and one network printer.
Both mobile devices should sending data for printing to printer simultaneously, but first device block connection with printer, and another device can't print anything.
After investigation we think that happaned in cause of uncorrect closing of connection from client side.

Adding end() command fix bug.

Bug don't reproduced unde Android 7

@phillbaker
Copy link

Thanks @Hirurgo. I recently started helping to maintain this library - maintenance has moved to a fork: https://github.com/aprock/react-native-tcp. Mind repointing your PR there?

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

Successfully merging this pull request may close these issues.

2 participants