Changes between Version 3 and Version 4 of MapGuideRfc118


Ignore:
Timestamp:
07/04/11 02:19:45 (13 years ago)
Author:
wuma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc118

    v3 v4  
    9696 * For IPv6, we pass in '''{{{::}}}'''. Then it will listen to all IPv6 address.
    9797
     98 4. Add the IPv6  / v4 configuration in serverconfig.ini
     99We need a way to determine we should pass in '''{{{0.0.0.0}}}''' or '''{{{::}}}''' as the '''{{{host_name}}}''' parameter when instantizte the '''{{{ACE_INET_Addr}}}''' objects. Although passing the ip address seems to be the right way to determine the protocol version at runtime, adding a new configuration parameter in '''{{{serverconfig.ini}}}''' is a much simpler and more reliable solution – the machine IP is specified by the '''{{{MachineIp}}}''' parameter, but it can happen that the user doesn’t input any ip address at all in '''{{{serverconfig.ini'''}}}. So adding one more parameter is a better idea. The parameter will be added into '''{{{GeneralProperties}}}''' section following the '''{{{MachineIp}}}''' parameter.
     100{{{
     101[GeneralProperties]
     102# *****************************************************************************
     103# G E N E R A L
     104#
     105# Property Name                    Description
     106# -----------------------------------------------------------------------------
     107# MachineIp     IP address of this server
     108# Ipv6          Specify if the server will listen to Ipv6 addresses.
     109#               Possible values: 1, 0 or empty.
     110#               0 or empty means it’s Ipv4. 1 (or non-zero values) means Ipv6
     111}}}
     112
    98113== Implications ==
    99114