00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _DECAF_NET_SOCKETOPTIONS_H_
00019 #define _DECAF_NET_SOCKETOPTIONS_H_
00020
00021 #include <decaf/util/Config.h>
00022
00023 namespace decaf {
00024 namespace net {
00025
00030 class DECAF_API SocketOptions {
00031 public:
00032
00037 static const int SOCKET_OPTION_TCP_NODELAY;
00038
00048 static const int SOCKET_OPTION_BINDADDR;
00049
00054 static const int SOCKET_OPTION_REUSEADDR;
00055
00062 static const int SOCKET_OPTION_BROADCAST;
00063
00071 static const int SOCKET_OPTION_IP_MULTICAST_IF;
00072
00078 static const int SOCKET_OPTION_IP_MULTICAST_IF2;
00079
00084 static const int SOCKET_OPTION_IP_MULTICAST_LOOP;
00085
00090 static const int SOCKET_OPTION_IP_TOS;
00091
00103 static const int SOCKET_OPTION_LINGER;
00104
00109 static const int SOCKET_OPTION_TIMEOUT;
00110
00118 static const int SOCKET_OPTION_SNDBUF;
00119
00127 static const int SOCKET_OPTION_RCVBUF;
00128
00142 static const int SOCKET_OPTION_KEEPALIVE;
00143
00149 static const int SOCKET_OPTION_OOBINLINE;
00150
00151 public:
00152
00153 virtual ~SocketOptions();
00154
00155 };
00156
00157 }}
00158
00159 #endif