Commit 189ea696503edd87a02520c0ce49b108203029a8
greetings
Tree committed on 12/14/2016, 4:10:22 AMParent: 80d0d4a03e19cdac6bfb67dcdcf5e55970e5a65a
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -41,9 +41,9 @@ | ||
41 | 41 … | var browser = mdns.createBrowser(mdns.tcp('http'), 11111) |
42 | 42 … | browser.on('serviceUp', function(service){ |
43 | 43 … | console.log(service.txtRecord.address) |
44 | 44 … | node.connect(service.txtRecord.address.split('~')[0], function(rpc){ |
45 | - rpc.public.greeting(function(err, greets){ | |
45 … | + rpc.public.greet(function(err, greets){ | |
46 | 46 … | console.log(greets) |
47 | 47 … | }) |
48 | 48 … | }) |
49 | 49 … | }) |
Built with git-ssb-web