Use higher packet size for remote streaming over end-to-end IPv6 connection

The IPv6 spec guarantees a minimum of 1280 byte MTUs
This commit is contained in:
Cameron Gutman
2024-05-29 13:57:50 -04:00
parent 5e75d4e1f1
commit c245fe599d
3 changed files with 129 additions and 5 deletions

View File

@@ -110,6 +110,7 @@ void shutdownTcpSocket(SOCKET s);
int setNonFatalRecvTimeoutMs(SOCKET s, int timeoutMs);
void closeSocket(SOCKET s);
bool isPrivateNetworkAddress(struct sockaddr_storage* address);
bool isNat64SynthesizedAddress(struct sockaddr_storage* address);
int pollSockets(struct pollfd* pollFds, int pollFdsCount, int timeoutMs);
bool isSocketReadable(SOCKET s);