]> git.llucax.com Git - software/druntime.git/blob - import/stdc/posix/netinet/tcp.d
Fixed a few build script issues on posix, including a bug in looking for some of...
[software/druntime.git] / import / stdc / posix / netinet / tcp.d
1 /**
2  * D header file for POSIX.
3  *
4  * Copyright: Public Domain
5  * License:   Public Domain
6  * Authors:   Sean Kelly
7  * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
8  */
9 module stdc.posix.netinet.tcp;
10
11 private import stdc.posix.config;
12
13 extern (C):
14
15 //
16 // Required
17 //
18 /*
19 TCP_NODELAY
20 */
21
22 version( linux )
23 {
24     const TCP_NODELAY = 1;
25 }
26 else version( darwin )
27 {
28     const TCP_NODELAY = 1;
29 }
30 else version( freebsd )
31 {
32     const TCP_NODELAY = 1;
33 }