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

Lost byte when receive? #25

Open
nutella opened this issue Nov 2, 2015 · 0 comments
Open

Lost byte when receive? #25

nutella opened this issue Nov 2, 2015 · 0 comments

Comments

@nutella
Copy link

nutella commented Nov 2, 2015

I've write an app that exchange data with a device by telnet using this plugin. I send a command and waiting for the reply. All seems to work, but the reply from the device is often too short, as the plugin lost the tail of the device transmission. The socket.onData is atomic? Return the entire tcp packet? Or is called more time until the packet is finished?

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