GithubHelp home page GithubHelp logo

csharpasynctcpsocketpractice's Introduction

C#을 사용한 비동기 소켓 연습

Preview

preview

주절주절

  1. Server.cs, Client.csSocketAsyncEventArgs를 사용하고 있다. 이것은 이벤트 기반 비동기 패턴(EAP) 라고 하고, JavaScript의 Event와 동일하다.

  2. ServerTask.cs, ClientTask.csTask 기반, 즉 작업 기반 비동기 패턴(TAP)을 사용한다.

  3. 역시 고급언어라 그런지 코드가 굉장히 간단함.

  4. 버퍼가 1024 bytes인데 10240 bytes 짜리 메시지를 보내면 터지지 않고 알아서 나뉘어 온다. (내부적으로 잘 하는 듯?)

csharpasynctcpsocketpractice's People

Contributors

smartse0k avatar

Watchers

James Cloos avatar  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.