2
* ===========================================================================
5
* National Center for Biotechnology Information
7
* This software/database is a "United States Government Work" under the
8
* terms of the United States Copyright Act. It was written as part of
9
* the author's official duties as a United States Government employee and
10
* thus cannot be copyrighted. This software/database is freely available
11
* to the public for use. The National Library of Medicine and the U.S.
12
* Government have not placed any restriction on its use or reproduction.
14
* Although all reasonable efforts have been taken to ensure the accuracy
15
* and reliability of the software and data, the NLM and the U.S.
16
* Government do not and cannot warrant the performance or results that
17
* may be obtained by using this software or data. The NLM and the U.S.
18
* Government disclaim all warranties, express or implied, including
19
* warranties of performance, merchantability or fitness for any particular
22
* Please cite the author in any work or product based on this material.
24
* ===========================================================================
28
* Author: Beatty, Gish
30
* Version Creation Date: 1/1/92
38
* --------------------------------------------------------------------------
39
* Date Name Description of modification
40
* ------- ---------- -----------------------------------------------------
41
* 05-12-92 Epstein Converted tabs to spaces
42
* 01-21-94 Schuler Added NETP_INET_MACTCP symbol
44
* ==========================================================================
47
* RCS Modification History:
49
* Revision 6.2 2001/04/05 02:36:22 juran
50
* Removed obsolete includes.
52
* Revision 6.1 1999/11/23 21:43:30 vakatov
53
* [WIN32] Always #define NETP_INET_WSOCK for Win32
55
* Revision 6.0 1997/08/25 18:39:09 madden
56
* Revision changed to 6.0
58
* Revision 5.0 1996/05/28 14:11:55 ostell
61
* Revision 4.0 1995/07/26 13:56:32 ostell
62
* force revision to 4.0
64
* Revision 1.18 1995/07/05 14:23:58 kans
65
* move #include <sys/select.h> to ncbilcl.r6k
67
* Revision 1.17 1995/05/17 17:52:48 epstein
68
* add RCS log revision history
74
#if !defined(COMP_MPW) && !defined(OS_VMS) && !defined(COMP_METRO)
76
#endif /* skip for COMP_MPW or OS_VMS or COMP_METRO */
78
#if defined(OS_MAC) && !defined(NETP_defined)
79
#define NETP_INET_MACTCP
82
#ifdef NETP_INET_MACTCP
89
#endif /* NETP_INET_MACTCP */
97
#endif /* NETP_INET_NEWT */
99
#ifdef NETP_INET_PCNFS
101
#include <sys/socket.h>
102
#include <sys/types.h>
103
#include <sys/ioctl.h>
104
#include <netinet/in.h>
107
#include <sys/nfs_time.h>
108
#include <tk_errno.h>
110
#endif /* NETP_INET_PCNFS */
112
/* TGV, Inc. Multinet TCP/IP suite */
114
#include "Multinet_root:[multinet.include]netdb.h"
115
#include "Multinet_root:[multinet.include.sys]types.h"
116
#include "Multinet_root:[multinet.include.sys]socket.h"
117
#include "Multinet_root:[multinet.include.sys]ioctl.h"
118
#include "Multinet_root:[multinet.include.netinet]in.h"
119
#include "Multinet_root:[multinet.include.arpa]inet.h"
120
/*#include "Multinet_root:[multinet.include.sys]time.h"*/
121
#include "Multinet_root:[multinet.include]errno.h"
123
#endif /* NETP_INET_TGV */
125
/* The Wollongong Group, Inc. TCP/IP suite */
130
/*#include <ioctl.h>*/
136
#endif /* NETP_INET_TWG */
138
/* The Wollongong PathWay API 1.0 suite for OpenVMS */
141
#include <sys/types.h>
142
#include <sys/socket.h>
143
#include <sys/ioctl.h>
144
#include <netinet/in.h>
145
#include <arpa/inet.h>
146
#include <sys/time.h>
149
#endif /* NETP_INET_TWG */
151
/* DEC TCP/IP for OpenVMS */
159
#include <ucx$inetdef.h>
162
#endif /* NETP_INET_UCX */
165
#if defined(WIN32) && !defined(_NI_NET_) && !defined(NETP_INET_WSOCK)
166
# define NETP_INET_WSOCK
168
#ifdef NETP_INET_WSOCK
177
# include <windows.h>
178
# include <winsock.h>
180
#endif /* NETP_INET_WSOCK */
185
#include <sys/socket.h>
186
#include <sys/types.h>
187
#include <sys/ioctl.h>
188
#include <netinet/in.h>
189
#include <arpa/inet.h>
190
#include <sys/time.h>
192
#endif /* _NI_NET_ */
194
/*** included from ni_lib.c *****/
199
#ifdef NETP_INET_MACTCP
200
#include <neterrno.h> /* include missing error numbers */
201
#endif /* NETP_INET_MACTCP */
210
/*** included from ni_msg.c *****/