Author: akhaldi
Date: Mon Nov 2 18:12:23 2015
New Revision: 69787
URL:
http://svn.reactos.org/svn/reactos?rev=69787&view=rev
Log:
[MSAFD] Handle SO_SNDTIMEO and SO_RCVTIMEO in WSPGetSockOpt(). By Peter Hater. CORE-10440
Modified:
trunk/reactos/dll/win32/msafd/misc/dllmain.c
Modified: trunk/reactos/dll/win32/msafd/misc/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/misc/dllma…
==============================================================================
--- trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msafd/misc/dllmain.c [iso-8859-1] Mon Nov 2 18:12:23 2015
@@ -2174,6 +2174,14 @@
Buffer = &IntBuffer;
BufferSize = sizeof(INT);
break;
+ case SO_SNDTIMEO:
+ Buffer = &Socket->SharedData.SendTimeout;
+ BufferSize = sizeof(DWORD);
+ break;
+ case SO_RCVTIMEO:
+ Buffer = &Socket->SharedData.RecvTimeout;
+ BufferSize = sizeof(DWORD);
+ break;
case SO_GROUP_ID:
case SO_GROUP_PRIORITY: