var dgram   = require("dgram"),
    util    = require("util"),
    _       = require("underscore");



var Client = function(host, port) {
    this.host = host;
    this.port = port;
    
    // Create socket (ignore errors)
    this.socket = dgram.createSocket("udp4");
    this.socket.on("error", function() {});
};

Client.prototype.timing = function(bucket, value) {
    this.send(bucket, value + "|ms");
};

Client.prototype.count = function(bucket, value) {
    this.send(bucket, value + "|c");
};

Client.prototype.increment = function(bucket) {
    this.count(bucket, 1);
};

Client.prototype.decrement = function(bucket) {
    this.count(bucket, -1);
};

Client.prototype.gauge = function(bucket, value) {
    this.send(bucket, value + "|g");
};

Client.prototype.send = function(bucket, value) {
    
    var buffer = new Buffer(bucket + ":" + value);
    
    // Send (ignore errors)
    this.socket.send(buffer, 0, buffer.length, this.port, this.host,
        function (err, bytes) {}
    );
};


exports.Client = Client;

@@ -58,45 +58,8 @@
 il%22)
-,%0A    _       = require(%22underscore%22)
 ;%0A%0A%0A

Remove loading of underscore