public TcpRemoteSocket(IServiceProvider services, IOptions <TcpOptions> options)
        {
            _services = services;

            _options = options.Value ?? new TcpOptions();

            _messagesBuffer = new BufferBlock <IRemoteSocketData>();
        }
Exemple #2
0
        public ZMQRemoteSocket(IServiceProvider services, IOptions <TcpOptions> options)
        {
            _options = options.Value;

            _inputBuffer = new BufferBlock <IRemoteSocketData>();
        }