20 lines
252 B
HTML
20 lines
252 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
var exampleSocket = new WebSocket("ws://192.168.1.1:80/p2p/sumo-277344/browser/");
|
|
|
|
|
|
|
|
exampleSocket.onmessage = function (event) {
|
|
console.log("data");
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|
|
|