Set up a simple client to connect to the server.

Mark Barton
InstructorMark Barton

Share this video with your friends

Send Tweet

In this lesson we create a very simple web page to connect to our socket Server.

Once a client connects, it is assigned a unique random identifier as its socket ID and we will log this out to the Server console.

We will send out a random number on the socket every second and demonstrate multiple clients receiving this value at the same time.