Skip to content

Instantly share code, notes, and snippets.

View linuxdeveloper's full-sized avatar

Ahmed ZRIBI linuxdeveloper

  • 05:56 (UTC +02:00)
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
window.WebSocket = window.WebSocket || window.MozWebSocket;
var websocket = new WebSocket('ws://127.0.0.1:9000',