Added test for readme example and added more logging

This commit is contained in:
2016-01-14 13:19:32 +01:00
parent 32fc9c8063
commit 1e25294095
3 changed files with 67 additions and 3 deletions
+1
View File
@@ -105,6 +105,7 @@ function client(options, callback) {
'enqLinkTiming': 20000 // 20 sec
}, options || {});
log.debug('larvitsmpp: lib/client.js: client() - Connecting to ' + options.host + ':' + options.port);
sock.connect(options.port, options.host, function() {
var session = clientSession(sock, options);