How to use Bonjour in Mac and Windows

Bill Vlahos bvlahos at mac.com
Sat Sep 28 18:42:02 EDT 2013


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 <monte at sweattechnologies.com> wrote:

> 
> 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 sProcess
> end StopService
> 
> Cheers
> 
> --
> Monte Goulding
> 
> M E R Goulding - software development services
> mergExt - There's an external for that!
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list