ws2_32: On Win98, SO_MAX_MSG_SIZE is 65527, not 65507.
This commit is contained in:
parent
2e04c18cf4
commit
6b007698d2
|
@ -1663,7 +1663,8 @@ static void test_extendedSocketOptions(void)
|
|||
ret = getsockopt(sock, SOL_SOCKET, SO_MAX_MSG_SIZE, (char *)&optval, &optlen);
|
||||
|
||||
ok(ret == 0, "getsockopt failed to query SO_MAX_MSG_SIZE, return value is 0x%08x\n", ret);
|
||||
ok(optval == 65507, "SO_MAX_MSG_SIZE reported %d, expected 65507\n", optval);
|
||||
ok((optval == 65507) || (optval == 65527),
|
||||
"SO_MAX_MSG_SIZE reported %d, expected 65507 or 65507\n", optval);
|
||||
|
||||
optlen = sizeof(LINGER);
|
||||
ret = getsockopt(sock, SOL_SOCKET, SO_LINGER, (char *)&linger_val, &optlen);
|
||||
|
|
Loading…
Reference in New Issue