Skip to content

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