These functions are declared in /usr/include/netinet/in.h and convert values between network- and host-byte order.
这些函数在 /usr/include/netinet/in.h 中进行声明并且能够转换网络字节与主机字节之间的顺序值。
The byte ordering is stated in each message, so if a D-BUS message travels over a network to a remote host, it can still be parsed correctly.
字节次序在每个消息中声明,所以如果一个D -BUS消息通过网络传输到远程的主机,它仍可以被正确地识别出来。
Thus the byte answering form followers make the calling system more reliable in the inquiry process of host address system.
在主机的地址查询过程中,从机的字节应答形式使呼叫系统更为可靠。
Converts a number from network byte order to host byte order.
将长值由网络字节顺序转换为主机字节顺序。
Converts a value from host byte order to network byte order.
将值由主机字节顺序转换为网络字节顺序。
Converts a short value from network byte order to host byte order.
将整数值由网络字节顺序转换为主机字节顺序。
Converts a short value from host byte order to network byte order.
将整数值由主机字节顺序转换为网络字节顺序。
Converts an integer value from host byte order to network byte order.
将短值由主机字节顺序转换为网络字节顺序。
Converts an integer value from network byte order to host byte order.
将长整数值从网路位元组顺序转换为主机位元组顺序。
Converts a long value from network byte order to host byte order.
将整数值从网路位元组顺序转换为主机位元组顺序。
Converts a long value from network byte order to host byte order.
将整数值从网路位元组顺序转换为主机位元组顺序。
应用推荐