...

/

Exercise 4: Working with TCP/IP and WebSocket

Exercise 4: 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 UNIX domain socket server (socketServer.go) that generates random numbers. After that, program a client for that server. The server should generate a set of random numbers between 0–99 (inclusive). 

To run the client side for the server, open a new terminal window and copy and paste the below commands into it:

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