1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 00:16:56 +00:00

ReceiveFrom: Copy proxyBuffer contents to buffer

This commit is contained in:
TSR Berry 2024-09-24 15:43:34 +02:00
parent 4b79de6427
commit 9ac0393cea
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2

View file

@ -176,6 +176,8 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
receiveSize = ProxyClient.ReceiveFrom(proxyBuffer, WinSockHelper.ConvertBsdSocketFlags(flags), ref temp); receiveSize = ProxyClient.ReceiveFrom(proxyBuffer, WinSockHelper.ConvertBsdSocketFlags(flags), ref temp);
proxyBuffer[..receiveSize].CopyTo(buffer);
remoteEndPoint = (IPEndPoint)temp; remoteEndPoint = (IPEndPoint)temp;
result = LinuxError.SUCCESS; result = LinuxError.SUCCESS;
} }