protected ClientConnectorTestsBase(ClientConnector connector = null) : base(dummyServer: true) { Connector = connector ?? new ClientConnector(SocketType.Stream, ProtocolType.Tcp, new SocketAsyncEventArgs()) { Address = Addr, Port = Port }; Connector.Connected += OnConnected; Connector.Failed += OnFailed; }
public ClientConnectorTests(ClientConnector connector) : base(connector) { }