Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / ace / os_include / netinet / os_tcp.h
blob6c672144d1ec0c6613533ab98a24bedd4ee3489c
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file os_tcp.h
7 * definitions for the Internet Transmission Control Protocol (TCP)
9 * @author Don Hinton <dhinton@dresystems.com>
10 * @author This code was originally in various places including ace/OS.h.
12 //=============================================================================
14 #ifndef ACE_OS_INCLUDE_NETINET_OS_TCP_H
15 #define ACE_OS_INCLUDE_NETINET_OS_TCP_H
17 #include /**/ "ace/pre.h"
19 #include /**/ "ace/config-lite.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #if !defined (ACE_LACKS_NETINET_TCP_H)
26 # include /**/ <netinet/tcp.h>
27 #endif /* !ACE_LACKS_NETINET_TCP_H */
29 // Place all additions (especially function declarations) within extern "C" {}
30 #ifdef __cplusplus
31 extern "C"
33 #endif /* __cplusplus */
35 # if !defined (TCP_NODELAY)
36 # define TCP_NODELAY 0x01
37 # endif /* TCP_NODELAY */
39 #ifdef __cplusplus
41 #endif /* __cplusplus */
43 #include /**/ "ace/post.h"
44 #endif /* ACE_OS_INCLUDE_NETINET_OS_TCP_H */