[sgen] Add debug option for valloc limit
[mono-project.git] / mono / utils / networking-windows.c
blobcf8200c816401cdf270a393111ecca6149b9faee
1 /**
2 * \file
3 * Windows-specific networking implementations
5 * Author:
6 * Alexander Köplinger (alex.koeplinger@outlook.com)
7 */
9 #include <mono/utils/networking.h>
11 #if defined(HOST_WIN32)
13 void *
14 mono_get_local_interfaces (int family, int *interface_count)
16 *interface_count = 0;
17 return NULL;
20 void
21 mono_networking_init (void)
23 WSADATA wsadata;
24 int err;
26 err = WSAStartup (2 /* 2.0 */, &wsadata);
27 if(err)
28 g_error ("%s: Couldn't initialise networking", __func__);
31 void
32 mono_networking_shutdown (void)
34 WSACleanup ();
37 #endif /* defined(HOST_WIN32) */