How to use Bonjour in Mac and Windows

Bill Vlahos bvlahos at
Sat Sep 28 23:12:02 EDT 2013

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-Vlahos-Computer.local.:45567 (interface 5)
>  path=/game

When I execute this in LiveCode, the result returns, "process is not open for read".
>    put format("dns-sd -L \"Play the Game\" _playbodd._tcp .") into sProcess
>    open process sProcess for text read
>    read from process sProcess until "path=" in 400 milliseconds
>    put the result into field "fGames"

If I comment the "read from process…" line the result is that the process is open.

Any ideas why?

Bill Vlahos

On Sep 28, 2013, at 4:46 PM, Monte Goulding <monte at> wrote:

> You probably want to open process for read then read one line at a time while you are browsing
> Cheers
> --
> Monte Goulding

More information about the Use-livecode mailing list