⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os_if.h

📁 全套ACE核心代码,用于TCPIP通讯,经过多次整理,已经应用于成熟产品
💻 H
字号:
// -*- C++ -*-//=============================================================================/** *  @file    os_if.h * *  sockets local interfaces * *  os_if.h,v 1.4 2003/10/15 18:24:20 dhinton Exp * *  @author Don Hinton <dhinton@dresystems.com> *  @author This code was originally in various places including ace/OS.h. *///=============================================================================#ifndef ACE_OS_INCLUDE_NET_OS_IF_H#define ACE_OS_INCLUDE_NET_OS_IF_H#include /**/ "ace/pre.h"#include "ace/config-all.h"#if !defined (ACE_LACKS_PRAGMA_ONCE)# pragma once#endif /* ACE_LACKS_PRAGMA_ONCE */#if defined (ACE_NEEDS_IPC_1C_H)   // LynxOS 3.1.0 and later need this#  include /**/ <ipc_1c.h>#endif /* ACE_NEEDS_IPC_1C_H */#if !defined (ACE_LACKS_NET_IF_H)   // This part if to avoid STL name conflict with the map structure   // in net/if.h.#  if defined (ACE_HAS_STL_MAP_CONFLICT)#    define map _Resource_Allocation_Map_#  endif /* ACE_HAS_STL_MAP_CONFLICT */   extern "C" {#  include /**/ <net/if.h>   }#  if defined (ACE_HAS_STL_MAP_CONFLICT)#    undef map#  endif /* ACE_HAS_STL_MAP_CONFLICT */#  if defined (HPUX) && defined (IOR)   /* HP-UX 11.11 defines IOR in /usr/include/pa/inline.h      and we don't want that definition.  See IOP_IORC.h.       Thanks to Torsten Kopper <tkue_0931@fastmail.fm> for this patch.*/#    undef IOR#  endif /* HPUX && IOR */#endif /* !ACE_LACKS_NET_IF_H */// Place all additions (especially function declarations) within extern "C" {}#ifdef __cplusplusextern "C"{#endif /* __cplusplus */#if defined (ACE_PSOS)#  if !defined (IFF_LOOPBACK)#    define IFF_LOOPBACK IFF_EXTLOOPBACK#  endif /* IFF_LOOPBACK */#endif /* ACE_PSOS */#if defined (ACE_HAS_BROKEN_IF_HEADER)   struct ifafilt;#endif /* ACE_HAS_BROKEN_IF_HEADER */#ifdef __cplusplus}#endif /* __cplusplus */#include /**/ "ace/post.h"#endif /* ACE_OS_INCLUDE_NET_OS_IF_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -