Has anyone ever tried to use UDP on the ARMweb to access another web site, not
to view the contents of course, but to update another hardware device that
supports configuration via a web server.
I am trying to use my ARMweb to send commands to a Insteon SmartLinc.
ANy direction would be helpful - Thanks - Jim
accessing HTTP server from ARMweb
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: accessing HTTP server from ARMweb
We took a quick look at the SmartLinc, it only has a TCP web interface.
We don't know of a way to use UDP to talk to a TCP interface, and doubt that
it's possible.
We don't know of a way to use UDP to talk to a TCP interface, and doubt that
it's possible.
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: accessing HTTP server from ARMweb
What you describe is not possible, the HTTP protocol is TCP-based, web servers
typically listen for connections on port 80 TCP (sometimes on a non-standard
port, but always TCP.)- You can send UDP frames to port 80 until the cows come
home, but a web server will never see them.
A UDP target host must be capable of running code that listens for UDP.
A work-around (that may or may not be practical) might be to write a
man-in-the-middle daemon to run on a PC, that translates UDP frames from the
ARMWeb and "forwards" them to the web server, as corresponding HTTP requests.
(Bruce, just in case you get a Jones for new ARMWeb features, a way to send an
HTTP request to another web server would be both useful and impressive.)
-MM
typically listen for connections on port 80 TCP (sometimes on a non-standard
port, but always TCP.)- You can send UDP frames to port 80 until the cows come
home, but a web server will never see them.
A UDP target host must be capable of running code that listens for UDP.
A work-around (that may or may not be practical) might be to write a
man-in-the-middle daemon to run on a PC, that translates UDP frames from the
ARMWeb and "forwards" them to the web server, as corresponding HTTP requests.
(Bruce, just in case you get a Jones for new ARMWeb features, a way to send an
HTTP request to another web server would be both useful and impressive.)
-MM