Removed old net initialization code

This commit is contained in:
aleks-f 2013-01-17 23:01:13 -06:00
parent 47af51fdfb
commit f9243c2073

View File

@ -245,23 +245,4 @@ void DNS::aierror(int code, const std::string& arg)
}
void initializeNetwork()
{
#if defined(_WIN32)
WORD version = MAKEWORD(2, 2);
WSADATA data;
if (WSAStartup(version, &data) != 0)
throw NetException("Failed to initialize network subsystem");
#endif // _WIN32
}
void uninitializeNetwork()
{
#if defined(_WIN32)
WSACleanup();
#endif // _WIN32
}
} } // namespace Poco::Net