#include <arpa/inet.h>

摘要:
NAMEarpa/inet.h互联网操作的定义SYNOPSIS#包括 描述端口和地址的定义见。地址结构应在图纸中定义

NAME

       arpa/inet.h - definitions for internet operations

SYNOPSIS

       #include <arpa/inet.h>

DESCRIPTION

       The  in_port_t  and  in_addr_t  types  shall be defined as described in
       <netinet/in.h> .

       The in_addr structure shall be defined as described in <netinet/in.h> .

       The INET_ADDRSTRLEN    and INET6_ADDRSTRLEN  macros shall be defined as
       described in <netinet/in.h> .

       The following shall either be declared as functions, defined as macros,
       or  both.  If  functions  are  declared,  function  prototypes shall be
       provided.

              uint32_t htonl(uint32_t);
              uint16_t htons(uint16_t);
              uint32_t ntohl(uint32_t);
              uint16_t ntohs(uint16_t);

       The uint32_t and uint16_t  types  shall  be  defined  as  described  in
       <inttypes.h> .

       The following shall be declared as functions and may also be defined as
       macros. Function prototypes shall be provided.

              in_addr_t    inet_addr(const char *);
              char        *inet_ntoa(struct in_addr);
              const char  *inet_ntop(int, const void *restrict, char *restrict,
                               socklen_t);
              int          inet_pton(int, const char *restrict, void *restrict);

       Inclusion of the <arpa/inet.h> header may also make visible all symbols
       from <netinet/in.h> and <inttypes.h>.

       The following sections are informative.

APPLICATIONUSAGE

       None.

RATIONALE

       None.

FUTUREDIRECTIONS

       None.

SEEALSO

       <netinet/in.h>  ,  <inttypes.h>  ,  the  System  Interfaces  volume  of
       IEEE Std 1003.1-2001, htonl(), inet_addr()

COPYRIGHT

       Portions of this text are reprinted and reproduced in  electronic  form
       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
       event of any discrepancy between this version and the original IEEE and
       The Open Group Standard, the original IEEE and The Open Group  Standard
       is  the  referee document. The original Standard can be obtained online
       at http://www.opengroup.org/unix/online.html .

免责声明:文章转载自《#include &amp;lt;arpa/inet.h&amp;gt;》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇css学习_写法规范、选择器关于maven打包出现测试错误导致打包失败下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

随便看看

Jboss

同时,为了扩大JBoss的企业市场,JBoss已经签署了许多渠道合作伙伴。2004年6月,JBoss宣布JBoss应用服务器已通过Sun公司的J2EE认证。这是JBoss应用服务器历史上最重要的里程碑。JBossAOP 1.0于2004年10月发布。这也证实了JBoss是一家创新型公司。JBoss应用服务器5.0于2008年12月6日正式发布。新版本的应用服...

季调方法论

理论与实践“季节性调整原则季节性调整方法分析季节性调整实践中遇到的问题只有同比数据缺少春节效应阅读”通货膨胀的季节性调整和预测模型“通货膨胀预测CPI的季节性调整具有明显的春节效应考虑春节效应的季节性调节春节效应的确定CPI的季节调整基于季节性调整后CPI的预测通货膨胀的修正(应对非洲猪瘟的影响)修订并扩大了季度调查方法的CPI预测读数...

Redis设置Auth认证保护

Redis有一种保护数据安全的身份验证方法。有两种方法可以设置此身份验证。一个是通过配置文件。另一种是直接在Redis客户端命令中设置参数requirepas。首先是在配置文件中查找参数requirepass。这是配置Redis访问密码的参数。由于Redis具有很强的并发能力,并且只使用密码,攻击者可能会在短时间内发送大量密码猜测请求,这很容易被暴力破解。因...

如何根据角色批量激活SAP Fiori服务

我们知道Fiori的角色不同于ERP,即使您的帐户具有SAP_ALL权限,但当您打开Fiori时,它也是空的:只有在您将Fiori所需的角色添加到帐户并激活相关服务时,才能使用Fioriapp。否则,打开Fioriapps将报告错误。可以通过GUI事务代码找到特定错误:/n/iwfnd/error_Log以查看特定原因。...

iostat

-pdevice|ALL和-x选项互斥。它们用于显示块设备和系统分区的统计信息。您还可以在-p之后指定设备名称,例如#iostat phda或显示所有设备:#iostat pALL-t输出数据时,打印数据收集时间---等待I/O svctm的平均时间:服务时间,从生成IO请求到完成IO的时间。从源代码中可以看出:--完成I/O需求的平均时间*=util---...

postman点击一次连续发送多次请求

可以测试同一个时间点创建订单。因为在工作中遇到的以此记录下,在工作上遇到同一个时间点产生了相同的赛时单号。...