mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[9750] Add structure of SMSG_REDIRECT_CLIENT (0x50D).
Thanks to TOM_RUS for help with research.
This commit is contained in:
parent
5d84dbb492
commit
ef979daddc
11 changed files with 51 additions and 11 deletions
|
|
@ -273,12 +273,15 @@ WorldSocketMgr::StartReactiveIO (ACE_UINT16 port, const char* address)
|
|||
}
|
||||
|
||||
int
|
||||
WorldSocketMgr::StartNetwork (ACE_UINT16 port, const char* address)
|
||||
WorldSocketMgr::StartNetwork (ACE_UINT16 port, std::string& address)
|
||||
{
|
||||
m_addr = address;
|
||||
m_port = port;
|
||||
|
||||
if (!sLog.IsOutDebug ())
|
||||
ACE_Log_Msg::instance ()->priority_mask (LM_ERROR, ACE_Log_Msg::PROCESS);
|
||||
|
||||
if (StartReactiveIO (port, address) == -1)
|
||||
if (StartReactiveIO (port, address.c_str()) == -1)
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue