Exercise 1: Working with TCP/IP and WebSocket

Let’s test our understanding by attempting this challenge.

We'll cover the following

Let’s practice what we’ve learned so far. The solution to this exercise will be provided in the next lesson.

Problem

Develop a concurrent TCP server that generates random numbers in a predefined range of 1–100 and sends it to the client.

To run the client side, open a new terminal window and copy and paste the command below in it:

Get hands-on with 1200+ tech skills courses.