GithubHelp home page GithubHelp logo

junwon-kwon / tcptest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jchristn/tcptest

0.0 0.0 0.0 371 KB

Test project to better handle TCP disconnects and failures in SimpleTcp, WatsonTcp, and BigQ.

License: MIT License

C# 100.00%

tcptest's Introduction

TcpTest

This project is aimed to help improve disconnect reliability for both WatsonTcp and SimpleTcp under the following scenarios:

  • Server-side Dispose - Graceful termination of all client connections
  • Server-side Client Removal - Graceful termination of one client connection
  • Server-side Termination - Abrupt termination due to process abort or CTRL-C
  • Client-side Dispose - Graceful termination of a client connection
  • Client-Side Termination - Abrupt termination due to process abort or CTRL-C

Please note: this repository will likely not be maintained in a versioned manner with release numbers.

Starting the Server

The server listens on 127.0.0.1:8000. Clone and build the source.

$ git clone https://github.com/jchristn/tcptest.git
$ cd tcptest
$ dotnet build -f netcoreapp2.2
$ dotnet server/bin/debug/netcoreapp2.2/server.dll

Starting the Client

Start the server first.

$ dotnet client/bin/debug/netcoreapp2.2/client.dll

Operation

On the server, use dispose, remove, q, or ctrl-c.

On the client, use dispose, q, or ctrl-c.

tcptest's People

Contributors

jchristn avatar spicyarch 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.