confused screaming

This commit is contained in:
2026-02-05 15:34:59 +01:00
parent a9536ac780
commit c4223d45e4
16 changed files with 323 additions and 237 deletions

View File

@@ -0,0 +1,18 @@
using System.Net;
namespace PVHelpers
{
public class NetEndPointFromIP : INetEndPoint
{
public IPEndPoint EndPoint { get; }
public IPAddress Address => this.EndPoint.Address;
public Int32 Port => this.EndPoint.Port;
public NetEndPointFromIP(IPEndPoint endpoint)
{
this.EndPoint = endpoint;
}
public NetEndPointFromIP(IPAddress address, Int32 port) : this(new(address, port)) { }
}
}