public IPEndPointStruct(IPAddress address, ushort port) : this() { this.port = port; ip = new IPHolder(address); }
internal IPEndPointStruct(MutableIPEndPoint ep) : this() { port = ep.Port; ip = new IPHolder(ep.socketAddress); }
public IPEndPointStruct(IPHolder ip, ushort port) : this() { this.ip = ip; this.port = port; }