[mini] Add new JIT flag JIT_FLAG_DISCARD_RESULTS to reduce the noise when profiling...
[mono.git] / mono / io-layer / sockets.h
index bae67c4fa57d233040464bfeb95711be09ab50a1..d634ae956ec8f1beb980e440f5261e52bf55ea71 100644 (file)
@@ -69,22 +69,20 @@ typedef struct
  * using the bitfield flags method
  */
 #define SIO_GET_EXTENSION_FUNCTION_POINTER 0xC8000006
+#define SIO_KEEPALIVE_VALS 0x98000004
 
 typedef gboolean (*WapiDisconnectExFn)(guint32, WapiOverlapped *, guint32,
-                                       WapiTransmitFileFlags);
+                                       guint32);
 typedef gboolean (*WapiTransmitFileFn)(guint32, gpointer, guint32, guint32,
                                        WapiOverlapped *,
                                        WapiTransmitFileBuffers *,
                                        WapiTransmitFileFlags);
 
-
-extern int WSAStartup(guint32 requested, WapiWSAData *data);
-extern int WSACleanup(void);
 extern void WSASetLastError(int error);
 extern int WSAGetLastError(void);
 extern int closesocket(guint32 handle);
 
-extern int ioctlsocket(guint32 handle, gint32 command, gpointer arg);
+extern int ioctlsocket(guint32 handle, unsigned long command, gpointer arg);
 extern int WSAIoctl (guint32 handle, gint32 command,
                     gchar *input, gint i_len,
                     gchar *output, gint o_len, glong *written,