Chage remoteAddress to mUDPClient
This commit is contained in:
1 parent
d3d437b0c8
commit
873a6fa455
3 files changed
+4
-9
No files matched your search
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user