Skip to content

Instantly share code, notes, and snippets.

@spikebrehm
Created February 12, 2014 21:41

Revisions

  1. Spike Brehm created this gist Feb 12, 2014.
    7 changes: 7 additions & 0 deletions global-client.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    // console.log(global.Client.toString());

    function (host, port) {
    this.host = host;
    this.port = port;
    this.socket = require('dgram').createSocket('udp4');
    }