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

Method for opening port but not read? #46

Open
carl689 opened this issue Mar 11, 2016 · 1 comment
Open

Method for opening port but not read? #46

carl689 opened this issue Mar 11, 2016 · 1 comment

Comments

@carl689
Copy link

carl689 commented Mar 11, 2016

Is there a way to open the port but not read the port until prompted?

The reason I ask is I have a device that sends constant data when port is open that I would like to be able to send command to, and occasionally read back it's status. I COULD just receive the data and ignore it, but I would obviously prefer to not send all that traffic unnecessarily over the wire.

@chilipeppr
Copy link
Collaborator

No, there's no ability to do that. I suppose the only thing would be to
open the port and then disconnect the websocket. When you want to read then
reconnect the websocket.

On Fri, Mar 11, 2016 at 5:48 AM, Carl [email protected] wrote:

Is there a way to open the port but not read the port until prompted?

The reason I ask is I have a device that sends constant data when port is
open that I would like to be able to send command to, and occasionally read
back it's status. I COULD just receive the data and ignore it, but I would
obviously prefer to send all that traffic unnecessarily over the wire.


Reply to this email directly or view it on GitHub
#46.

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