public IDisposable Start() { if (_socketCommandArgs.Ack) { var ackClient = new SocketClientWithAck(_arguments, _socketCommandArgs); return ackClient.Start(); } var client = new RawSocketClientManager(_arguments, _socketCommandArgs); return client.Start(); }
public IDisposable Start() { if (_socketCommandArgs.Ack) { var ackClient = new SocketClientWithAck(_arguments, _socketCommandArgs); return(ackClient.Start()); } var client = new RawSocketClientManager(_arguments, _socketCommandArgs); return(client.Start()); }