/******************************************************************************* Copyright: Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved. License: Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details). *******************************************************************************/ module ocean.stdc.posix.sys.socket; public import core.sys.posix.sys.socket; public import core.sys.posix.netinet.tcp; public import core.sys.posix.netinet.in_; public import core.sys.posix.netdb; public import ocean.stdc.posix.gnu.socket; enum { // OptionLevel.IP settings IP_MULTICAST_TTL = 33 , IP_MULTICAST_LOOP = 34 , IP_ADD_MEMBERSHIP = 35 , IP_DROP_MEMBERSHIP = 36, } enum {SOCKET_ERROR = -1} enum { SOCK_NONBLOCK = 0x800, /* Atomically mark descriptor(s) as non-blocking. */ SOCK_CLOEXEC = 0x8_0000, /* Atomically set close-on-exec flag for the new descriptor(s). */ }