vita: Reduce TCPv4_MSS to 512 to avoid setsockopt error

`setsockopt` with 536 returned EINVAL error.
SCE would use simple value for limit
This commit is contained in:
Sunguk Lee authored and Cameron Gutman committed 2022-01-24 22:19:09 -06:00
1 parent 4a4a23c7c4
commit c6d68d9e87
1 file changed
+4
+4
View File
@@ -5,7 +5,11 @@
#define RCV_BUFFER_SIZE_MIN 32767
#define RCV_BUFFER_SIZE_STEP 16384
#if defined(__vita__)
#define TCPv4_MSS 512
#else
#define TCPv4_MSS 536
#endif
#define TCPv6_MSS 1220
#if defined(LC_WINDOWS)