コード例 #1
0
 public IPEndPointStruct(IPAddress address, ushort port) : this()
 {
     this.port = port;
     ip        = new IPHolder(address);
 }
コード例 #2
0
 internal IPEndPointStruct(MutableIPEndPoint ep) : this()
 {
     port = ep.Port;
     ip   = new IPHolder(ep.socketAddress);
 }
コード例 #3
0
 public IPEndPointStruct(IPHolder ip, ushort port) : this()
 {
     this.ip   = ip;
     this.port = port;
 }