Socket Problem Node

Hey, I just learned SocketIO and Express on a tutorial and I don't really know it that well, and I tried to send a message from one client to the server to the other client in a room. This only works if I run the repl from the server, and then reload both the page and the replit page I coded it on.

You are viewing a single comment. View All

@aboutabot Ok, I had another look at my node.js repls. The script tag needs the full path to your file so try: