...

/

Solution 1: Working with TCP/IP and WebSocket

Solution 1: Working with TCP/IP and WebSocket

Let’s solve the challenge set in the previous lesson.

We'll cover the following...

Solution

Here is the concurrent TCP server (concTCP.go) that generates random numbers in a predefined range of 1–100.

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

Access this course and 1400+ top-rated courses and projects.