workaround for vista service automatic WSAStartup() crash issue

This commit is contained in:
Aleksandar Fabijanic
2010-04-03 14:09:48 +00:00
parent bf87d53ac7
commit 8d928d0c00
2 changed files with 39 additions and 5 deletions

View File

@@ -89,4 +89,22 @@
#endif
namespace Poco {
namespace Net {
void initializeNetwork();
/// Initialize the network subsystem.
/// Calls WSAStartup() on Windows, does nothing
/// on other platforms.
void uninitializeNetwork();
/// Uninitialize the network subsystem.
/// Calls WSACleanup() on Windows, does nothing
/// on other platforms.
} } // namespace Poco::Net
#endif // Net_Net_INCLUDED