accessing HTTP server from ARMweb

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

accessing HTTP server from ARMweb

Post 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



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: accessing HTTP server from ARMweb

Post 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.

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: accessing HTTP server from ARMweb

Post 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

Post Reply