-/*
- * networking-windows.c: Windows-specific networking implementations
+/**
+ * \file
+ * Windows-specific networking implementations
*
* Author:
* Alexander Köplinger (alex.koeplinger@outlook.com)
return NULL;
}
+void
+mono_networking_init (void)
+{
+ WSADATA wsadata;
+ int err;
+
+ err = WSAStartup (2 /* 2.0 */, &wsadata);
+ if(err)
+ g_error ("%s: Couldn't initialise networking", __func__);
+}
+
+void
+mono_networking_shutdown (void)
+{
+ WSACleanup ();
+}
+
#endif /* defined(HOST_WIN32) */