Changes between Version 4 and Version 5 of MapGuideRfc118


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

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc118

    v4 v5  
    6565It treats the character '''{{{":"}}}''' as invalid. But for IPv6, '''{{{":"}}}''' is used as a splitter for the address segments.
    6666
    67  3. Make MapGuide Server listen to IPv6 address
     67 3. '''Make MapGuide Server listen to IPv6 address'''
    6868When the service of MapGuide Server starts, it uses following code to listen to the client, site and admin ports:
    69 '''''{{{Server\src\Core\Server.cpp}}}'''''
     69'''{{{Server\src\Core\Server.cpp}}}'''
    7070{{{
    7171ACE_INET_Addr clientAddr((u_short)pServerManager->GetClientPort));
     
    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
    99 We 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.
     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.
    100100{{{
    101101[GeneralProperties]