dgram.js 341 B

12345678
  1. var dgram = require("dgram");
  2. var promisify = require("./_promisify.js");
  3. var bind = function(c, f) { return f && f.bind(c); };
  4. Object.defineProperties(module.exports, {
  5. Socket: { enumerable: true, value: dgram.Socket },
  6. //_createSocketHandle: // skipping
  7. createSocket: { enumerable: true, value: bind(dgram, dgram.createSocket) },
  8. });