export UdpSocket as Socket, enabling the use of dgram.Socket

This commit is contained in:
Andy Prock 2015-06-15 13:54:59 -07:00
parent d3e3016318
commit 485883eaa4
1 changed files with 7 additions and 7 deletions

View File

@ -6,10 +6,10 @@
var UdpSocket = require('./UdpSocket.ios')
module.exports = {
createSocket: function(type) {
return new UdpSocket({
type: type
})
}
}
exports.createSocket = function(type) {
return new UdpSocket({
type: type
})
}
exports.Socket = UdpSocket;