Merge pull request #1949 from lewurm/fixtype
[mono.git] / mono / metadata / socket-io.h
index 7cef4a43a26a73d2a89383cd607222db6aa6b1d4..5e1c7ef43a90e779c97d2d74f6730f8a353b643d 100644 (file)
@@ -151,40 +151,6 @@ typedef enum {
        SocketFlags_Partial = 0x8000
 } MonoSocketFlags;
 
-/*
-  Keep this in sync with SocketAsyncResult in
-  ./System.Net.Sockets/Socket.cs and ProcessAsyncReader
-  in System.Diagnostics/Process.cs.
-*/
-typedef struct _MonoSocketAsyncResult {
-       MonoObject obj;
-       MonoObject *socket;
-       HANDLE handle;
-       MonoObject *state;
-       MonoDelegate *callback;
-       MonoWaitHandle *wait_handle;
-       MonoException *delayed_exc;
-       MonoObject *ep;
-       MonoArray *buffer;
-       gint offset;
-       gint size;
-       gint socket_flags;
-       MonoObject *accept_reuse_socket;
-       MonoArray *addresses;
-       gint port;
-       MonoObject *buffers;
-       MonoBoolean reusesocket;
-       MonoObject *acc_socket;
-       gint total;
-       MonoBoolean completed_synch;
-       MonoBoolean completed;
-       MonoBoolean blocking;
-       gint error;
-       gint operation;
-       MonoAsyncResult *ares;
-       gint32 end_called;
-} MonoSocketAsyncResult;
-
 typedef struct
 {
        MonoObject obj;