Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef SOCKETENGINE_H
00014 #define SOCKETENGINE_H
00015
00016 #include "services.h"
00017 #include "sockets.h"
00018
00019 class CoreExport SocketEngine
00020 {
00021 static const int DefaultSize = 2;
00022 public:
00023
00024 static std::map<int, Socket *> Sockets;
00025
00028 static void Init();
00029
00032 static void Shutdown();
00033
00039 static void Change(Socket *s, bool set, SocketFlag flag);
00040
00043 static void Process();
00044 };
00045
00046 #endif // SOCKETENGINE_H