
从ClanLib2.3.0版本开始,CL_NetGameServer::get_event_arrived函数被去除,所以这里的这個教程在ClanLib2.3.0及以后的版本中无法编译。
http://clanlib.org/wiki/BreakingChanges#Version_2.3.0:_Release_26_July_2011
亮点:
•.clanNetwork
CL_NetGameServer::get_event_arrived was removed.
CL_NetGameServer is now CL_KeepAlive enabled, so just by calling CL_KeepAlive::process() the network events will be processed. Remember to create the CL_NetGameServer object in the same thread that calls CL_KeepAlive::process()!
HxLauncher: Launch Android applications by voice commands