mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-17 22:16:39 +00:00
ReceiveFrom: Copy proxyBuffer contents to buffer
This commit is contained in:
parent
4b79de6427
commit
9ac0393cea
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue