Determining LAN IP

Andre Garzia andre at andregarzia.com
Fri Aug 27 09:27:18 EDT 2010


Monte,

There was an external called RevZeroConf, it is outdated but might work. I
will look into my archives to see if I can dig it out (it was three machines
ago but there's a chance it came thru in my Rev folder)



On Fri, Aug 27, 2010 at 12:27 AM, Monte Goulding <
monte at sweattechnologies.com> wrote:

> Hmm.. we are looking at zeroconf and either writing an external or using
> dns-sd in shell to register.
>
> Cheers
>
> Monte
> On 27/08/2010, at 12:50 PM, Andre Garzia wrote:
>
> > Monte,
> >
> > Never tried broadcasting TCP but broadcasting UDP should work. You could
> > fire some UDP packets as a kind of "ping", your client would then gather
> the
> > IP from that.
> >
> > :D
> >
> > On Thu, Aug 26, 2010 at 9:42 PM, Monte Goulding <
> monte at sweattechnologies.com
> >> wrote:
> >
> >>> For example, if my Rev built-in server listen at port 9876, I can make
> >> the
> >>> iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254
> trying
> >> to
> >>> connect on port 9876, no manual ip thing needed but could be provided
> if
> >>> automatic lookup failed.
> >>
> >> Hmm.... I never thought of that. What about using 255.255.255.255 to
> >> broadcast to find the server? Anyone done this before? One issue is it's
> >> possible that there could be more than one sync server on the LAN
> although
> >> we could respond with some details so the user could choose.
> >>
> >> Cheers
> >>
> >> Monte_______________________________________________
> >> use-revolution mailing list
> >> use-revolution at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >>
> >
> >
> >
> > --
> > http://www.andregarzia.com All We Do Is Code.
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list