zoukankan      html  css  js  c++  java
  • TCP/IP网络互连技术 卷3 winsock篇

    第一章 Introduction And Overview
      1The Telnet protocol provides incredible flexibility because it only defines interactive communication and not the details of the service accessed. Telnet can be used as the communication mechanism for many interactive services besides remote login.

    2 Provideing concurrent access to application services is important and difficult; many chapters of this text explain and discuss concurrent implementations of application protocol software

    第二章The Client Server Model And Software Design
    1 Because TCP/IP does not provide any mechanism that automatically create running programs when a message arrives, a program must be waiting to accept communication before any requests arrive.

    2 Servers must contain code that handles the issues of :
      authentication-verifying the identity of the cient
      Authorization- determining whether a giben client is permitted to access the servive the server supplies.
      Data security- guaranteeing that the data is not unintentionally revealed or compromised
      privacy- keeping information about an individual from unauthorized access
      Protection - guaranteering that network applicaion cannot abuse sysytem resourses.

    3 When designing client applicaion software, include parameters that allow the user to fully specify the destination machine and destination protocol port number.

    4 When designing client-server applicaitons,beginners arestrongly advised to use RCP because it provides reliable, connection-oriented communication. Programs only use UDP if the applicaion protocol handles reliability, the application requires hardware breadcast or multicast, or the application cannot tolerate virtual circuit overhead.

    5In an ideal world, where networks deliver all messages reliably and computers nerver crash, having a server maintain a small amount of state information for each ongoing interaction can make messages smaller and processing simpler.

    6 In a real internet, where machines crash and reboot, and messages can be lost, delayed, duplicated, or delivered out of order, stateful designlead to complex application protocols that are difficult to design,understand, and program correctly.

  • 相关阅读:
    类的多重继承
    实例属性和类属性
    协程
    nginx安装与配置
    Linux系统优化及状态监控
    MongoDb安全配置:简单的身份认证
    MongoDB YAML格式的配置文件
    yum使用,使用rpm指令安装rpm,使用dpkg指令安装deb
    MongoDB默认配置
    被锐速加防火墙坑了一下。。。
  • 原文地址:https://www.cnblogs.com/goodloop/p/82147.html
Copyright © 2011-2022 走看看