Skip to content

Instantly share code, notes, and snippets.

View Zerstoren's full-sized avatar

Lucenko Viacheslav Zerstoren

  • MitriDAT
  • Ukraine Kiev
View GitHub Profile
@Zerstoren
Zerstoren / Socket wrapper.js
Created November 26, 2013 11:36
Wrapper on WebSocket
(function() {
var Socket = function(host, port) {
this.init(host, port);
};
Socket.Counter = 0;
Socket.prototype.$super = 'Socket';
Socket.prototype.pool = null;