Skip to content

Commit f9243c2

Browse files
committed
Removed old net initialization code
1 parent 47af51f commit f9243c2

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

‎Net/src/DNS.cpp‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -245,23 +245,4 @@ void DNS::aierror(int code, const std::string& arg)
245245
}
246246

247247

248-
void initializeNetwork()
249-
{
250-
#if defined(_WIN32)
251-
WORD version = MAKEWORD(2, 2);
252-
WSADATA data;
253-
if (WSAStartup(version, &data) != 0)
254-
throw NetException("Failed to initialize network subsystem");
255-
#endif // _WIN32
256-
}
257-
258-
259-
void uninitializeNetwork()
260-
{
261-
#if defined(_WIN32)
262-
WSACleanup();
263-
#endif // _WIN32
264-
}
265-
266-
267248
} } // namespace Poco::Net

0 commit comments

Comments
 (0)