Charles Dye
Super Moderator
- May
- 5,387
- 166
Staff member
@IPPORT and @IPZONEID. It looks like neither one has ever worked, and nobody has ever noticed.
@IPZONEID is funny. It seems to be picking up the IPv6 scope correctly, and then returning it as an error code. If adapter #0 has an IP address ending in %12, then @IPZONEID emits an "access code is invalid" error, and so on.
@IPPORT looks like it's about 99% there. Pass it a valid service name like "http" or "imap4" or "gopher", and it returns ... without changing the string buffer, so you just get the same string back. But an unknown service name gives an error message. So I think the code is requesting and getting the required data from Windows, and then blissfully exiting.
If both functions were removed and de-documented, I doubt if anyone would notice that, either. Priority: Iron your shoelaces first.
@IPZONEID is funny. It seems to be picking up the IPv6 scope correctly, and then returning it as an error code. If adapter #0 has an IP address ending in %12, then @IPZONEID emits an "access code is invalid" error, and so on.
@IPPORT looks like it's about 99% there. Pass it a valid service name like "http" or "imap4" or "gopher", and it returns ... without changing the string buffer, so you just get the same string back. But an unknown service name gives an error message. So I think the code is requesting and getting the required data from Windows, and then blissfully exiting.
If both functions were removed and de-documented, I doubt if anyone would notice that, either. Priority: Iron your shoelaces first.