Esempio n. 1
0
buildinfuncnet::buildinfuncnet(fake * fk) : m_fk(fk)
{
	POOLLIST_INI(m_buffer, fk);
	POOLLIST_INI(m_selector, fk);
	// socket
#ifdef WIN32
	WORD wVersionRequested;
	WSADATA wsaData;
	int32_t err;
	wVersionRequested = MAKEWORD(2, 2);
	err = WSAStartup(wVersionRequested, &wsaData);
#endif
}
Esempio n. 2
0
container::container(fake * fk) : m_fk(fk)
{
	POOLLIST_INI(m_va_pl, fk);
	POOLLIST_INI(m_vm_pl, fk);
	POOLLIST_INI(m_v_pl, fk);
	POOLLIST_INI(m_cva_pl, fk);
	POOLLIST_INI(m_cvm_pl, fk);
	POOLLIST_INI(m_cv_pl, fk);
}