Kind of udp support for the browser : replace the dgram module. Behind the scene, a socket.io/udp proxy makes this possible.
dgram-browserify is a wrapper around simudp for automatic browserify support.
Be careful, for the moment, the main browserify version provides a broken implementation of Buffer. That's why this version should be used..
Installation
$ npm install dgram-browserify
Use
Server-side, the proxy server should be launched :
var server = ; ; server;
Note : see listen options
Browser-side with browserify :
var dgram = ; //be sure Buffer is presentvar Buffer = Buffer; var socket = dgram; var hello = 'hello';socket; socket; //you've understood, it's dgram for the browser...