Code Monkey home page Code Monkey logo

socket-in-c's Introduction

Tcp Udp Socket In C leanning notes

###关于要构造自己的一个应用层协议,需要确定的几个基本问题。

  1. 应用层协议的构架,是C/S是P2P
  2. 数据包成帧的边界问题:是基于哨兵位的定位。还是基于数据包长度的地定位。
  3. 识别一个有效请求的实现问题。
  4. 输送信息的编码问题,是字符编码还是二进制编码

socket-in-c's People

Contributors

lilijreey avatar

Watchers

James Cloos avatar  avatar

Forkers

mohicannnnnnnn

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.