mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[MSAFD] Make WSPSetSockOpt() SO_RCVBUF stub return success
This commit is contained in:
@@ -2870,6 +2870,17 @@ WSPSetSockOpt(
|
||||
ERR("Setting send buf to %x is not implemented yet\n", optval);
|
||||
return NO_ERROR;
|
||||
|
||||
case SO_RCVBUF:
|
||||
if (optlen < sizeof(DWORD))
|
||||
{
|
||||
if (lpErrno) *lpErrno = WSAEFAULT;
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
/* TODO: The total per-socket buffer space reserved for receives */
|
||||
ERR("Setting receive buf to %x is not implemented yet\n", optval);
|
||||
return NO_ERROR;
|
||||
|
||||
case SO_ERROR:
|
||||
if (optlen < sizeof(INT))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user