示例#1
0
int _tmain(int argc, _TCHAR* argv[])
{
	SocketManager mng = SocketManager();
	mng.init();
	mng.run();

	return 0;
}
示例#2
0
int main(int argc, char **argv)
{
    #if 1
    SocketManager * mng = SocketManager::getInstance();
    
    mng->init();
    
    mng->start(); 
    
    mng->fini();
    #endif

    return 0;
}