mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-07-03 00:06:02 +00:00
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:
parent
4a4a23c7c4
commit
c6d68d9e87
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user