gniazdo IO na dwóch różnych portach
<!doctype html>
<html>
<head>
<script src='https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.1/socket.io.js'></script>
<script>
var socketClient1 = io('ws://localhost:5566');
var socketClient2 = io('ws://localhost:7788');
</script>
</head>
<body>
<ul id='messages'></ul>
</body>
</html>
Impossible Ibis