Chage remoteAddress to mUDPClient

This commit is contained in:
derek.holloway committed 2026-07-10 14:29:31 -07:00
1 parent d3d437b0c8
commit 873a6fa455
3 files changed
+4 -9

No files matched your search

+1 -5
View File
@@ -1,5 +1,4 @@
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
@@ -42,11 +41,8 @@ namespace Mistox.Client {
// Extract the object
dynamic buildObj = DataPacket.Deserialize( dataType, DataLength, data );
// Map the IPEndPoint to a user
IPEndPoint endpoint = udpPacket.RemoteEndPoint;
// Return the object
_parent.InvokeOnReceived( buildObj, udpPacket.RemoteEndPoint );
_parent.InvokeOnReceived( buildObj, client );
}
} catch( Exception e ) {