网络字节顺序和主机字节顺序之间的差异? [英] difference between network byte order and host byte order?
本文介绍了网络字节顺序和主机字节顺序之间的差异?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
给我(数字)例子..........................
解决方案
< blockquote>区别?它们可以是相同的也可以是对立的。网络字节顺序在所有情况下都被确定为大端,主机字节顺序取决于主机的平台。
请参阅:
http://en.wikipedia.org/wiki/Network_byte_order#Endianness_in_networking [ ^ ],
http://tools.ietf.org/html/rfc1700 [ ^ ]。
give me (Numerical ) examples ..........................
解决方案
The difference? They can be the same or the opposites. Network byte order is decided to be big-endian in all cases, and the host byte order depends on host''s platform.
Please see:
http://en.wikipedia.org/wiki/Network_byte_order#Endianness_in_networking[^],
http://tools.ietf.org/html/rfc1700[^].
—SA
这篇关于网络字节顺序和主机字节顺序之间的差异?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文