katoikia-app/web-ui/web-react/node_modules/pn/dgram.js

8 lines
341 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
var dgram = require("dgram");
var promisify = require("./_promisify.js");
var bind = function(c, f) { return f && f.bind(c); };
Object.defineProperties(module.exports, {
Socket: { enumerable: true, value: dgram.Socket },
//_createSocketHandle: // skipping
createSocket: { enumerable: true, value: bind(dgram, dgram.createSocket) },
});