Changes between Version 7 and Version 8 of MapGuideRfc118


Ignore:
Timestamp:
Jul 5, 2011, 2:27:06 AM (13 years ago)
Author:
wuma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc118

    v7 v8  
    3838#define ACE_HAS_IPV6
    3939}}}
    40 It should be defined in config.h so that it could be effective for both Windows and Linux
     40It should be defined in '''{{{config.h}}}''' so that it could be effective for both Windows and Linux
    4141 2. '''Port the IP address validation logic'''.
    4242There is existing logic to validate if the IP address specified in the configuration file is valid. But the logic always assumes the IP address is in v4 format. We need port the logic to consider both v4 format and v6 format. One example is like below in
     
    124124}
    125125}}}
    126 Then it works for only IPv4. And for IPv6, because the valid format is really complicated, then convert it to a hex string is difficult.
    127 The solution is: encode the IP as Base64 string. The port numbers will still be converted to hex string so that they could be easily decoded.
     126Then it works for only IPv4. And for IPv6, because the valid format is really complicated, then converting it to a hex string is difficult.
     127The solution is: encode the IP as a Base64 string. The port numbers will still be converted to hex string so that they could be easily decoded.
    128128Then the new method will be like:
    129129{{{