Giter Club home page Giter Club logo

sudemo202405's Introduction

sudemo202405

Two apps: a client (initiator) and a server (acceptor)

"Server" app

No special parameters. Just run it and leave it up.

cd Server
dotnet run ../../cfg/server.cfg

"Client" app

Takes one "scenario" parameter. The client will start, run the scenario, and shut down.

  • It has ResetOnLogon=Y so it always starts at 1. (Same reasons as your app, of course.)
  • HeartBtInt is 10 seconds
cd Client
dotnet run ../../cfg/server.cfg scenario=1a

Scenarios:

  • "1a" - Login with expired password "LLL". Server will respond with appropriate logout.
  • "1b" - Login with Password (554) and NewPassword (925). Server will respond with appropriate login.
    • The counterparty docs treat these as a combined scenario, but they're functionally independent to each other.
  • "3" - SeqNum reset scenario:
    1. Client logs on, waits for a few heartbeats to run the SeqNum up
    2. Client disconnects
    3. Client reconnects. Config ResetOnLogon means it will include ResetSeqNumFlag=Y.
    4. Client observes that the SeqNum was reset by Server and terminates.
    5. (NOTE: this scenario is a little redundant -- The client's default ResetOnLogon=Y config means that this behavior is demonstrated whenever this Client connects to Server for any reason!)

sudemo202405's People

Contributors

gbirchmeier avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.