Alvin Lin
1 min readDec 22, 2018

--

Hi,

Great question! This is actually a point of confusion for many beginners. The file is provided by the socket.io package. When you require() it on the server and hook it into the express web server, it gets automatically served to the client at that URL. If you want to find the actual file that gets served, look in /node_modules/socket.io.

Let me know if you have any more questions!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Alvin Lin
Alvin Lin

Written by Alvin Lin

I'm a software engineer from New York City with a permanent case of bed hair.

No responses yet

Write a response