lib/zonar.js
function createMessage(status) {

        var message = [];

        message.push(broadcastIdentifier);
        message.push(compabilityVersion);
        message.push(netId);
        message.push(id);
        message.push(name);
        message.push(self.port);
        message.push(status);
        //message.push(mode);
        payloadLength = payload.length;
        message.push(payloadLength + ':' + payload);

        var messageString = message.join(" ");

        return new Buffer(messageString);

    }
function createMessage(status) {

        var message = [];

        message.push(broadcastIdentifier);
        message.push(compabilityVersion);
        message.push(netId);
        message.push(id);
        message.push(name);
        message.push(self.port);
        message.push(status);
        //message.push(mode);
        payloadLength = payload.length;
        message.push(payloadLength + ':' + payload);

        var messageString = message.join(" ");

        return new Buffer(messageString);

    }
function createMessage ( status ) { var message = [ ] ; message . push ( broadcastIdentifier ) ; message . push ( compabilityVersion ) ; message . push ( netId ) ; message . push ( id ) ; message . push ( name ) ; message . push ( self . port ) ; message . push ( status ) ; //message.push(mode); payloadLength = payload . length ; message . push ( payloadLength + ':' + payload ) ; var messageString = message . join ( " " ) ; return new Buffer ( messageString ) ; }
Creates the broadcast string, and returns a buffer
Creates the broadcast string and returns a buffer