Web Server

It appears there is a lightweight web server built into the Roku, because the developer page runs off of this.

It would be useful, to at least some programs, to be able to serve pages out via this web server. I’m mainly thinking in terms of simple form pages to get information from the user via computer or mobile device. These simple forms could then save the results to a local file or the registry to be accessed by BrightScript. I realize all of this can be done by setting up an external server, but it would simplify things quite a bit to be able to do it all locally.

Trying to keep the idea fairly open right now. Maybe the page is only accessible while the channel is open? Perhaps some BrightScript code is required to make it available? Maybe it is accessible via http://address/vanity?

You could probably accomplish something similar with the new socket features in 3.0.

In section 3.5 of the ExternalControlGuide.pdf the following is listed:

The SDK includes a sample External Control Protocol application that requires only glibc to compile. The program is self contained in the /examples/source/rokuExternalControl.c file of the SDK. You can compile and run it with the following commands:
% cd

I don’t see this file in the /examples/source directory. Could I get a copy of it?

It’s in the examples directory, not examples/source.

-JT

“renojim” wrote:
It’s in the examples directory, not examples/source.

Thanks! There just as you said.

Ryan