Example #1
0
		server.get('/networkNative', function(req, res, next) {
			networkingInterfaces.getAllNative(function (interfaces) {
				res.send(interfaces);
			});
		});
Example #2
0
	exports.test_canReturnAllInterfacesNative = function(test) {
		networkingInterfaces.getAllNative(function (interfaces) {
			test.ok(interfaces.length > 1);
			test.done();
		});
	};