CM_SELECTSERVER       = 104;//ѡ



  DefMsg := MakeDefaultMsg(CM_SELECTSERVER, 0, 0, 0, 0);
  SendSocket(EncodeMessage(DefMsg) + EncodeString(sServerName));


SM_SELECTSERVER_OK = 530;
 DefMsg := MakeDefaultMsg(SM_SELECTSERVER_OK, UserInfo.nSessionID, 0, 0, 0);
 SendGateMsg(UserInfo.Socket, UserInfo.sSockIndex, EncodeMessage(DefMsg) + EncodeString(sSelGateIP + '/' + IntToStr(nSelGatePort) + '/' + IntToStr(UserInfo.nSessionID)));
SM_SELECTSERVER_OK: ClientGetPasswdSuccess(sBody);
  sText := GetValidStr3(sText, sSelChrAddr, ['/']);
  sText := GetValidStr3(sText, sSelChrPort, ['/']);
  sText := GetValidStr3(sText, sCertification, ['/']);
  m_nCertification := Str_ToInt(sCertification, 0);
IP  ˿   ĸɶ  

  

SM_STARTFAIL = 526;
         ˷Ա