open-access-control-api/index.html

15 lines
360 B
HTML
Raw Normal View History

2019-07-07 03:59:45 +00:00
<html>
<head>
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io();
console.log("loaded socketio");
socket.on('connect', function(){
socket.send('hi');
socket.on('data', function(data){
console.log(data);
});
});
</script>
</head>
</html>