Major overall of data

This commit is contained in:
derek.holloway committed 2026-07-02 21:48:43 -07:00
1 parent 64dbd02874
commit 6126b8259c
12 files changed
+160 -126

No files matched your search

+2 -6
View File
@@ -6,16 +6,12 @@ using System.Threading.Tasks;
// Network Sync
namespace MistoxServer.Client {
namespace Mistox.Client {
public class mUDPClient : IDisposable {
public event EventHandler onReceived;
Socket udpClient;
bool Alive;
int Port;
public mUDPClient( IPEndPoint ServerAddress ) {
public mUDPClient( IPEndPoint ServerAddress, string ConnectionID ) {
udpClient = new Socket( AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp );
udpClient.SetSocketOption( SocketOptionLevel.IP, SocketOptionName.ReuseAddress, true );
udpClient.SetSocketOption( SocketOptionLevel.IP, SocketOptionName.IpTimeToLive, 128 );