Permalink
Browse files

added createClient method

  • Loading branch information...
1 parent d64f69d commit 3ba77bf99187d5534b1970efaff8016016363a76 @kilianc committed Jul 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/nssocket.js
View
@@ -6,6 +6,9 @@ var net = require('net'),
bufferjoiner = require('bufferjoiner')
module.exports = NsSocket
+
+module.exports.createClient = NsSocket
+
module.exports.createServer = function createServer(options, connectionListener) {
if (!connectionListener && typeof options === 'function') {
connectionListener = options

0 comments on commit 3ba77bf

Please sign in to comment.