public TcpRemoteSocket(IServiceProvider services, IOptions <TcpOptions> options) { _services = services; _options = options.Value ?? new TcpOptions(); _messagesBuffer = new BufferBlock <IRemoteSocketData>(); }
public ZMQRemoteSocket(IServiceProvider services, IOptions <TcpOptions> options) { _options = options.Value; _inputBuffer = new BufferBlock <IRemoteSocketData>(); }