|
From: | truename |
Subject: | [Nel] about the FES and WS for snowball2 |
Date: | Sun, 15 Sep 2002 15:43:55 +0800 (CST) |
hey,i got a troublesome,everybody can help me?i started the WS successful,but the WS crashed after i started the FES ,i found the FES sent the mesage to WS at void CLoginServer::connectToWS () with the contents: CMessage msg("UN_SIDENT"); nlassert (IService::getInstance()); uint16 ssid = IService::getInstance()->getServiceId(); string name = IService::getInstance()->getServiceShortName(); msg.serial(name); msg.serial(ssid); // serializes a 16 bits service id //-------------------------------------------- // corefans modified for debug //uint8 pos = 0;//will be 0? //msg..serial(pos); //if insert these code above,the WS will be successful,but the client snowball2 can't connect to FES //-------------------------------------------- CNetManager::send("WS", msg); then the WS received the msg at void uncbServiceIdentification(CMessage &msgin, TSockId from, CCallbackNetBase netbase) in unified_network.cpp: msgin.serial(inSName); msgin.serial(inSid); uint8 pos; msgin.serial (pos);//this line will be crash! ============================================================= Ãâ·ÑÓÊÏ佡¿µÉ±¶¾´óÐж¯£¡ ·ÉÎèÄãµÄ¾«Áé ÁôסÄãµÄ¾«²Ê ¾«ÁéÈ«ÃæÊÕ·Ñ£¡ ÍøÒ×ÅÄÂôпªÕÅ È«²¿Ãâ·Ñ ÒâÍ⾪ϲ ÒâÍâÊÕ»ñ£¡ |
[Prev in Thread] | Current Thread | [Next in Thread] |