Sockets

Ken Ray kray at sonsothunder.com
Mon Nov 11 21:56:01 EST 2002


Jim,

Thanks for the update. I'll amend the scripts at my site... IPCONFIG is a
funky beast, and does indeed vary by platform! And being a RegEx hound I'll
update the matchText function accordingly.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Jim Lambert" <jiml at netrin.com>
To: <use-revolution at lists.runrev.com>
Sent: Sunday, November 10, 2002 7:30 PM
Subject: RE: Sockets


> The script Ken Ray posted on his site to Get MAC Address is excellent.
> One note though, on my Win98 SE machine the function returned nothing
> because
>
> get matchText(temp,"Physical Address. . . . . . . . . :
> ([A-Z0-9-]*)",retVal)
>
> doesn't find "Physical Address. . . . . . . . . :"
>
> The data returned by IPCONFIG.EXE shows "Physical Address. . . . . . :"
> So, removing 3 periods:
>
> get matchText(temp,"Physical Address. . . . . . : ([A-Z0-9-]*)",retVal)
>
> does work.
>
> Perhaps the format of information returned by IPCONFIG.EXE varies by
Windows
> version (a very Microsofty possibility!) If this is so, someone more adept
> at Regular Expressions than I might want to post a matchtext parameter
that
> finds "Physical Address" + any number of periods + colon.
>
> Jim Lambert
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list