You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
341 B
8 lines
341 B
4 years ago
|
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) },
|
||
|
});
|