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 2020-10-26 03:59:15 +09:00 committed by Cameron Gutman
parent 4a4a23c7c4
commit c6d68d9e87

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)