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

Feature Request: Ability to tcp connect to host:port #17

Open
GoogleCodeExporter opened this issue Jul 4, 2015 · 2 comments
Open

Feature Request: Ability to tcp connect to host:port #17

GoogleCodeExporter opened this issue Jul 4, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

In addition to Serial port and RSMB, can you add the ability to connect to
a tcp host:port.  This would help if the serial port is on a serial port
server, like ser2net.  There's no protocol, you just connect and the data
comes.

Original issue reported on code.google.com by norm...@gmail.com on 9 Jan 2010 at 11:44

@GoogleCodeExporter
Copy link
Author

Interesting idea - thanks. 

I guess you could treat it as a stream, and look for the XML start and end tags 
to 
identify a complete reading. Do you have an example of what that code would 
look like?

Original comment by dale.l...@gmail.com on 9 Jan 2010 at 11:53

@GoogleCodeExporter
Copy link
Author

yep, it's the the same as a serial port.  The xml comes in one a single line 
(like
the serial port) so you can just use makefile and readline to retrieve it.

Original comment by norm...@gmail.com on 10 Jan 2010 at 1:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant