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