Re: How to use Bonjour in Mac and Windows

2013-09-29 Thread Monte Goulding
On 30/09/2013, at 3:05 PM, Bill Vlahos wrote: > is there an easier way to search for types and get a list of servers' > Computer Names and IP addresses? I'm not sure. If it were me I would have written an external by now ;-) Cheers -- M E R Goulding Software development services Bespoke appl

Re: How to use Bonjour in Mac and Windows

2013-09-29 Thread Bill Vlahos
Monte, The dns-sd commands appear to make it difficult to easily get the IP address of the service. dns-sd -B provides the domain and service name but not the DNS or IP address dns-sd -L provides the machine (or DNS) name but I have to parse the line is there an easier way to s

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Bill Vlahos
It is working now. The "read open process…" puts the returned info in the variable "it" not "the result". Thanks Bill On Sep 28, 2013, at 8:50 PM, Monte Goulding wrote: > Have you checked if it's already open? Use the openProcesses > > -- > Monte Goulding ___

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Monte Goulding
On 29/09/2013, at 1:12 PM, Bill Vlahos wrote: > Here is the terminal output: >> >> [Bill-Vlahos-Computer:~] bvlahos% dns-sd -L "Play the Game" _playbodd._tcp . >> Lookup Play the Game._playbodd._tcp.local >> DATE: ---Sat 28 Sep 2013--- >> 16:25:29.827 ...STARTING... >> 16:25:36.527 Play\032th

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Bill Vlahos
Here is the terminal output: > > [Bill-Vlahos-Computer:~] bvlahos% dns-sd -L "Play the Game" _playbodd._tcp . > Lookup Play the Game._playbodd._tcp.local > DATE: ---Sat 28 Sep 2013--- > 16:25:29.827 ...STARTING... > 16:25:36.527 Play\032the\032Game._playbodd._tcp.local. can be reached at > Bill

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Monte Goulding
On 29/09/2013, at 9:43 AM, Bill Vlahos wrote: > Monte, > > Interesting. It didn't work for me running LC 6 until I used "kill". I'll > double check. > > Now that I can advertise the bonjour service how can I browse the network on > the client? The following command works in the terminal. >>

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Bill Vlahos
Monte, Interesting. It didn't work for me running LC 6 until I used "kill". I'll double check. Now that I can advertise the bonjour service how can I browse the network on the client? The following command works in the terminal. > [Bill-Vlahos-Computer:~] bvlahos% dns-sd -L "Play the Game" _pla

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Monte Goulding
On 29/09/2013, at 8:42 AM, Bill Vlahos wrote: > Monte, > > Neat! That worked. > > One note (which is in the docs) "close process" doesn't work on Macintosh you > have to use "kill process" instead. > Changes: Support for using the close process command on OS X systems was added in version 2

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Bill Vlahos
Monte, Neat! That worked. One note (which is in the docs) "close process" doesn't work on Macintosh you have to use "kill process" instead. Thank you, Bill Vlahos On Sep 28, 2013, at 3:23 PM, Monte Goulding wrote: > > Hi Bill > > You need to use the open process commands rather than shell.

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Monte Goulding
Hi Bill You need to use the open process commands rather than shell. Try: local sProcess command StartService put format("dns-sd -R \"Play the Game\" _playbodd._tcp . 45567 path=/game") into sProcess open process sProcess for neither end StartService command StopService close process

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Bill Vlahos
Monte, If I enter the following line in the terminal (on Mac) it properly registers the Bonjour service: dns-sd -R "Play the Game" _playbodd._tcp . 45567 path=/game Note that the terminal does not give the cursor back but does register the service. I have to control-z. If I enter the following

Re: How to use Bonjour in Mac and Windows

2013-09-28 Thread Bill Vlahos
Monte, If I enter the following line in the terminal (on Mac) it properly registers the Bonjour service: dns-sd -R "Play the Game" _playbodd._tcp . 45567 path=/game Note that the terminal does not give the cursor back but does register the service. I have to control-z. If I enter the following

Re: How to use Bonjour in Mac and Windows

2013-09-26 Thread Monte Goulding
On 27/09/2013, at 10:20 AM, Bill Vlahos wrote: > I need this for both Macintosh and Windows. It seems like we should be able > to do this natively in LiveCode rather than an external. Are there any > example stacks or commands? > > I did find this link on Jan's site but it requires jAVA. > htt

Re: How to use Bonjour in Mac and Windows

2013-09-26 Thread Bill Vlahos
Monte, I need this for both Macintosh and Windows. It seems like we should be able to do this natively in LiveCode rather than an external. Are there any example stacks or commands? I did find this link on Jan's site but it requires jAVA. http://quartam.blogspot.com/2011/01/zeroconfbonjour-in-l

Re: How to use Bonjour in Mac and Windows

2013-09-21 Thread Monte Goulding
On 22/09/2013, at 7:43 AM, Bill Vlahos wrote: > I'd like to see some examples on using Bonjour to register a service and > query. The LiveCode dictionary doesn't have anything and I don't see anything > in RevOnline. > > I only see a reference to Monte's external which looks to be for mobile

How to use Bonjour in Mac and Windows

2013-09-21 Thread Bill Vlahos
I'd like to see some examples on using Bonjour to register a service and query. The LiveCode dictionary doesn't have anything and I don't see anything in RevOnline. I only see a reference to Monte's external which looks to be for mobile and I want this for Mac and Windows. Thanks, Bill Vlahos