O'Reilly logo

Raspberry Pi Zero W Wireless Projects by Vasilis Tzivaras

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Simple server

A simple server consists of an IP address and a port. An IP address is something similar to 38.24.64.23, in which there are four parts; each one of them has a number from 1 to 254. It is similar to the address of your home, but instead of letters, we have four sets of numbers. The port can be any number between 0 to 65535. Some of them are default ports in an application; for example, when you surf the internet, you use port 80; when you SSH to a remote server (or your Pi), you use port 22. Thus, for a simple server implementation, we will use an IP address and a port. This combination defines a server uniquely all over the world. In the following example, we will use our localhost machine for the demo. So, instead of an IP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required