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

📄 fns_sock.h

📁 用于嵌入式系统的TCP/IP协议栈及若干服务
💻 H
字号:
/**            Copyright (c) 1998-2001 by NETsilicon Inc.**  This software is copyrighted by and is the sole property of*  NETsilicon.  All rights, title, ownership, or other interests*  in the software remain the property of NETsilicon.  This*  software may only be used in accordance with the corresponding*  license agreement.  Any unauthorized use, duplication, transmission,*  distribution, or disclosure of this software is expressly forbidden.**  This Copyright notice may not be removed or modified without prior*  written consent of NETsilicon.**  NETsilicon, reserves the right to modify this software*  without notice.**  NETsilicon*  411 Waverley Oaks Road                  USA 781.647.1234*  Suite 227                               http://www.netsilicon.com*  Waltham, MA 02452                       AmericaSales@netsilicon.com***************************************************************************  $Name: Fusion 6.52 Fusion 6.51 $*  $Date: 2001/09/20 10:19:18 $*  $Source: M:/psisrc/stack/incl/rcs/fns_sock.h $*  $Revision: 1.7 $***************************************************************************                         - Revision Log -                              * Who   When        Why** FND   01/10/01    Add inet_aton***************************************************************************  File Description:  Sockets API function name mapping to Fusion equivalents.***************************************************************************//* NOTE:  We don't recommend mapping close to fns_close.  This can introduce          bugs which are difficult to find in that if you do have a C runtime           (UNIX, etc.) close() function you might accidentally use it with our           socket handle, or use a file or other device handle with our fns_close           function.  Thus, we recommend explicitly calling fns_close to make          a clear distinction from any other close function in your system.*/#ifndef __FNS_SOCK_H__#define __FNS_SOCK_H__/* Fusion proprietary API functions */#define caccept         fns_caccept#define fselect         fns_fselect#define getsopt         fns_getsopt#define ip_bind         fns_ip_bind#define nonblocking     fns_nonblocking#define nselect         fns_nselect#define pioctl          fns_pioctl#define recvh           fns_recvh  #define sendh           fns_sendh#define setsopt         fns_setsopt #define socketpair      fns_socketpair#define tcp_open        fns_tcp_open#define udp_open        fns_udp_open#define inet_ntoa       fns_inet_ntoa#define inet_addr       fns_inet_addr#define inet_aton		fns_inet_aton#endif  /* __FNS_SOCK_H__ */

⌨️ 快捷键说明

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