Created
September 4, 2020 10:54
-
-
Save anandtripathi5/0a9e8b1782a9150d3048fa72706d951e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.8/socket.io.min.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
const socket = io('http://localhost:5000') | |
socket.on('connect', () => { | |
console.log("socket connected"); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment