예제 #1
0
 public UninitializedTcpConnection(IPAddress ipAddress, PortNumber portNumber)
 {
     IpAddress = ipAddress;
     PortNumber = portNumber;
 }
예제 #2
0
파일: TcpConnector.cs 프로젝트: jagrem/msg
 public async static Task<TcpConnection> OpenConnectionAsync(IPAddress ipAddress, PortNumber portNumber)
 {
     var client = new TcpClient ();
     await client.ConnectAsync (ipAddress, portNumber);
     return new TcpConnection (client);
 }
예제 #3
0
파일: TcpEndpoint.cs 프로젝트: jagrem/msg
 public TcpEndpoint (IPAddress ipAddress, PortNumber port)
 {
     this.IpAddress = ipAddress;
     this.Port = port;
 }