diff --git a/UdpSockets.ios.js b/UdpSockets.ios.js index 7712242..f94c64f 100644 --- a/UdpSockets.ios.js +++ b/UdpSockets.ios.js @@ -6,10 +6,10 @@ var UdpSocket = require('./UdpSocket.ios') -module.exports = { - createSocket: function(type) { - return new UdpSocket({ - type: type - }) - } -} \ No newline at end of file +exports.createSocket = function(type) { + return new UdpSocket({ + type: type + }) +} + +exports.Socket = UdpSocket;