1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Set up a simple Socket.io client to connect to the server.

    expressExpress

    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.