socket io v2 code example Example: socket.io cdn <script src="https://cdn.socket.io/socket.io-3.0.1.min.js"></script>