mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 15:46:33 +00:00
ReceiveFrom: Copy proxyBuffer contents to buffer
This commit is contained in:
parent
4b79de6427
commit
9ac0393cea
@ -176,6 +176,8 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
|
||||
|
||||
receiveSize = ProxyClient.ReceiveFrom(proxyBuffer, WinSockHelper.ConvertBsdSocketFlags(flags), ref temp);
|
||||
|
||||
proxyBuffer[..receiveSize].CopyTo(buffer);
|
||||
|
||||
remoteEndPoint = (IPEndPoint)temp;
|
||||
result = LinuxError.SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user