初始化版本

This commit is contained in:
LL
2025-11-14 16:12:32 +08:00
commit ea40f18aa6
326 changed files with 137063 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Net;
namespace NetWorkHelper
{
public delegate void ReceiveDataEventHandler(object sender, ReceiveDataEventArgs e);
public class ReceiveDataEventArgs : EventArgs
{
public ReceiveDataEventArgs() { }
public ReceiveDataEventArgs(byte[] buffer, IPEndPoint remoteIP)
: base()
{
Buffer = buffer;
RemoteIP = remoteIP;
}
public byte[] Buffer { get; set; }
public IPEndPoint RemoteIP { get; set; }
}
}