view druntime/import/stdc/posix/netinet/tcp.d @ 760:6f33b427bfd1

Seems like hg ignores .di files, so I missed a bunch of stuff. complete druntime should be there now :)
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 12 Nov 2008 00:19:18 +0100
parents
children
line wrap: on
line source

/**
 * D header file for POSIX.
 *
 * Copyright: Public Domain
 * License:   Public Domain
 * Authors:   Sean Kelly
 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
 */
module stdc.posix.netinet.tcp;

private import stdc.posix.config;

extern (C):

//
// Required
//
/*
TCP_NODELAY
*/

version( linux )
{
    const TCP_NODELAY = 1;
}
else version( darwin )
{
    const TCP_NODELAY = 1;
}
else version( freebsd )
{
    const TCP_NODELAY = 1;
}