socket io front end specify backend code example
Example: import socket io frontend
<script src="/socket.io/socket.io.js"></script><script> const socket = io('http://localhost');</script>
<script src="/socket.io/socket.io.js"></script><script> const socket = io('http://localhost');</script>