index.js
function createSocket(type, receive)
{
  try{ // newer
    var sock = dgram.createSocket({ type: type, reuseAddr: true }, receive);
  }catch(E){ // older
    var sock = dgram.createSocket(type, receive);
  }
  return sock;
}
function createSocket(type, receive)
{
  try{ // newer
    var sock = dgram.createSocket({ type: type, reuseAddr: true }, receive);
  }catch(E){ // older
    var sock = dgram.createSocket(type, receive);
  }
  return sock;
}
function createSocket ( type , receive ) { try { // newer var sock = dgram . createSocket ( { type : type , reuseAddr : true } , receive ) ; } catch ( E ) { // older var sock = dgram . createSocket ( type , receive ) ; } return sock ; }
compatibility wrapper between node v0.10 v0.12 and iojs
compatibility wrapper between node v0 . 10 v0 . 12 and iojs