public HighPerformanceServerStrategy(int localPort) : base(localPort)
 {
     Role            = TcpRole.Client;
     MultipleClients = true;
     endPointFactory = new EndPointFactory(localPort);
     communicants.Add(ComputerInfo.Current.PerformanceIndex, endPointFactory.Create(IPAddress.Loopback));
 }
Exemple #2
0
 public TcpTransportConfiguration(IPEndPoint remoteEndpoint, TcpRole role)
 {
     RemoteEndpoint = remoteEndpoint;
     Role           = role;
 }
 public TcpTransportConfiguration(IPEndPoint remoteEndpoint, TcpRole role) {
    RemoteEndpoint = remoteEndpoint;
    Role = role;
 }