@@ -185,7 +185,7 @@ int mono_w32socket_send (SOCKET s, char *buf, int len, int flags, gboolean block
185
185
{
186
186
int ret = SOCKET_ERROR ;
187
187
MONO_ENTER_GC_SAFE ;
188
- ALERTABLE_SOCKET_CALL (FD_WRITE_BIT , blocking , FALSE , ret , send , s , buf , len , flags );
188
+ ALERTABLE_SOCKET_CALL (FD_WRITE_BIT , blocking , TRUE , ret , send , s , buf , len , flags );
189
189
MONO_EXIT_GC_SAFE ;
190
190
return ret ;
191
191
}
@@ -194,7 +194,7 @@ int mono_w32socket_sendto (SOCKET s, const char *buf, int len, int flags, const
194
194
{
195
195
int ret = SOCKET_ERROR ;
196
196
MONO_ENTER_GC_SAFE ;
197
- ALERTABLE_SOCKET_CALL (FD_WRITE_BIT , blocking , FALSE , ret , sendto , s , buf , len , flags , to , tolen );
197
+ ALERTABLE_SOCKET_CALL (FD_WRITE_BIT , blocking , TRUE , ret , sendto , s , buf , len , flags , to , tolen );
198
198
MONO_EXIT_GC_SAFE ;
199
199
return ret ;
200
200
}
@@ -203,7 +203,7 @@ int mono_w32socket_sendbuffers (SOCKET s, WSABUF *lpBuffers, guint32 dwBufferCou
203
203
{
204
204
int ret = SOCKET_ERROR ;
205
205
MONO_ENTER_GC_SAFE ;
206
- ALERTABLE_SOCKET_CALL (FD_WRITE_BIT , blocking , FALSE , ret , WSASend , s , lpBuffers , dwBufferCount , lpNumberOfBytesRecvd , lpFlags , lpOverlapped , lpCompletionRoutine );
206
+ ALERTABLE_SOCKET_CALL (FD_WRITE_BIT , blocking , TRUE , ret , WSASend , s , lpBuffers , dwBufferCount , lpNumberOfBytesRecvd , lpFlags , lpOverlapped , lpCompletionRoutine );
207
207
MONO_EXIT_GC_SAFE ;
208
208
return ret ;
209
209
}
0 commit comments