git ssb

1+

cheerbitch / dexbot



Commit 80d0d4a03e19cdac6bfb67dcdcf5e55970e5a65a

greetings

Tree committed on 12/14/2016, 4:08:17 AM
Parent: 061e3e72a74371aae02321b09a7ba522a143fa4a

Files changed

index.jschanged
index.jsView
@@ -40,8 +40,13 @@
4040
4141 var browser = mdns.createBrowser(mdns.tcp('http'), 11111)
4242 browser.on('serviceUp', function(service){
4343 console.log(service.txtRecord.address)
44 + node.connect(service.txtRecord.address.split('~')[0], function(rpc){
45 + rpc.public.greeting(function(err, greets){
46 + console.log(greets)
47 + })
48 + })
4449 })
4550
4651
4752 console.log(node.getAddress())

Built with git-ssb-web