This commit is contained in:
CortexCore
2024-03-31 23:31:00 +08:00
parent e179d2eb53
commit b7b89ee71a
641 changed files with 31286 additions and 22134 deletions

View File

@@ -3,11 +3,11 @@ using System.Net;
namespace BITKit.Net.LAN
{
public interface ILANBroadcaster
public interface ILANBroadcaster:IDisposable
{
int Port { get; set; }
byte[] Buffer { get; set; }
event Action<EndPoint, string> OnReceive;
event Action<EndPoint, byte[]> OnReceive;
void StartBroadcast();
void StopBroadcast();
void StartListen();