Code: Select all
LoginRequest::LoginRequest(string* userName, string* password, string* zoneName, ISFSObject* parameters)
if userName is English or Number,it's No problem;
but if userName is Chinese,it's not work,and wait a moment ,run in SmartFox::OnSocketClose,
and then crash on my handleEvent function;
Code: Select all
string *reason = ((string*)pEvent->Params()->at("reason"));