"AlexHolsgrove" wrote:
I'm new to Roku development and I'm also wondering what this example can do. How do you connect to the server?
To get started, edit the file config.xml and change "ext1:/" to "pkg:/", e.g.:
<Roku>
<MimeTypes>
<brs>text/plain</brs>
</MimeTypes>
<globals>
<wwwroot>pkg:/</wwwroot>
</globals>
</Roku>
Side-load the channel and send requests to port 8888 at your Roku's IP address, e.g. in your web browser's location field, type:
http://192.168.0.7:8888/
In this example, it will show you a directory listing of your package directory, e.g.:
/
Makefile 97
config.xml 140
images/
manifest 338
sounds/
source/
generated by Roku RSP WebServer on Thu, 31 JUL 2014 18:20:35 GMT
You can serve up static files from your package by placing them in directories like you would on any other web server.
It's just an example of how to implement a web server using a Roku. If you want to do more, the rest is up to you.