Chapter 10. Hello Web

On the Web, the equivalent to HelloWorld is a server program that handles GET requests from web browsers and returns a message to them, as shown in Figure 10-1.

Architecture of HelloWeb
Figure 10-1. Architecture of HelloWeb

Relaying Messages to and from the Netduino

Isn’t there supposed to be a problem with making a device a web server, as mentioned in Part III? How can we sidestep the problems caused by firewalls, network address translations, and the shortage of IPv4 Internet addresses?

The HelloWeb program works thanks to a relay between the Netduino Plus and the client who wants to connect to it over the Internet. The client sends its request ...

Get Getting Started with the Internet of Things now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.