Пример #1
0
        public IDisposable Start()
        {
            if (_socketCommandArgs.Ack)
            {
                var ackClient = new SocketClientWithAck(_arguments, _socketCommandArgs);
                return ackClient.Start();
            }

            var client = new RawSocketClientManager(_arguments, _socketCommandArgs);
            return client.Start();
        }
Пример #2
0
        public IDisposable Start()
        {
            if (_socketCommandArgs.Ack)
            {
                var ackClient = new SocketClientWithAck(_arguments, _socketCommandArgs);
                return(ackClient.Start());
            }

            var client = new RawSocketClientManager(_arguments, _socketCommandArgs);

            return(client.Start());
        }