<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Hello world</title>
|
|
</head>
|
|
<script src = "/socket.io-client/socket.io.js"></script>
|
|
<script>
|
|
|
|
var socket = io('129.21.91.149:3000');
|
|
socket.emit('register', 'big boi');
|
|
</script>
|
|
<body>Hello world</body>
|
|
</html>
|