美文网首页
Multiplexing and Demultiplexing

Multiplexing and Demultiplexing

作者: crf1028 | 来源:发表于2016-11-30 21:46 被阅读0次

Multiplexing

  • 在TCP或者UDP传输过程中,数据需要被不同程序识别,multiplexing因此诞生
  • 一般情况下multiplexing有以下几个field用于区分不同程序所需要的数据
  • source ip, source port, destination ip, destination port

Demultiplexing

  • 通过检验上述field, 传输协议(transport layer protocol)将不同数据包发送至正确的socket
  • port 0-1023是被各种协议占用的端口,1024-65535是一般程序可用的端口

相关文章

网友评论

      本文标题:Multiplexing and Demultiplexing

      本文链接:https://www.haomeiwen.com/subject/ltntmttx.html