Page 1 of 1

accessing HTTP server from ARMweb

Posted: Sun Feb 10, 2013 11:40 pm
by YahooArchive
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

Re: accessing HTTP server from ARMweb

Posted: Sun Feb 10, 2013 11:41 pm
by YahooArchive
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.

Re: accessing HTTP server from ARMweb

Posted: Sun Feb 10, 2013 11:42 pm
by YahooArchive
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