mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
parent
76ccb44a32
commit
dfcc3250cf
@ -183,9 +183,9 @@ namespace DS4Windows
|
||||
|
||||
//try { udpSock.SendTo(packetData, clientEP); }
|
||||
SocketAsyncEventArgs args = argsList[listInd];
|
||||
listInd = ++listInd % 20;
|
||||
args.RemoteEndPoint = clientEP;
|
||||
args.SetBuffer(packetData, 0, packetData.Length);
|
||||
listInd = ++listInd % 20;
|
||||
try {
|
||||
udpSock.SendToAsync(args);
|
||||
}
|
||||
@ -643,9 +643,9 @@ namespace DS4Windows
|
||||
{
|
||||
//try { udpSock.SendTo(outputData, cl); }
|
||||
SocketAsyncEventArgs args = argsList[listInd];
|
||||
listInd = ++listInd % 20;
|
||||
args.RemoteEndPoint = cl;
|
||||
args.SetBuffer(outputData, 0, outputData.Length);
|
||||
listInd = ++listInd % 20;
|
||||
try {
|
||||
udpSock.SendToAsync(args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user