• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
雪飞夏日
博客园    首页    新随笔    联系   管理    订阅  订阅
OSI Model Layers
socket

Application Layer (应用层)
Presentatin Layer (表示层)
Session Layer (绘制层)
Transport Layer (传输层)
Network Layer (网络通讯层)
Data-Link Layer (数据链接层)
Physical Layer (物理层)

Two types of Internet domain sockets:
stream sockets (= TCP sockets)
      provides communication in connected mode
      guarantees reliable data transmission|
      costs time in connection set-up and error checking
datagram sockets(=UDP socket)
      provides communication in connectionless mode
      does not guarantee reliable data transmission
      saves time from connection set-up and error checking

What is byte ordering ?

   The byte order is the order in which bytes are stored to create larger data types such as the int and
   long values

    Two types of byte-ordering in computers:

         little-endian:low-order (less significant) byte first (Intel microprocessor)
          big-endian:high-order (most significant) byte first (Motorola microprocessor)

posted on 2009-07-26 18:59  雪飞夏日  阅读(199)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3