1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:34:48 +02:00

Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later

This commit is contained in:
Adam
2010-07-30 01:11:19 -04:00
parent e353b15df8
commit 8e6fe99181
7 changed files with 40 additions and 27 deletions
+6 -2
View File
@@ -15,16 +15,20 @@
class CoreExport SocketEngineBase
{
public:
#ifdef _WIN32
/* Windows crap */
WSADATA wsa;
#endif
/* Map of sockets */
std::map<int, Socket *> Sockets;
/** Default constructor
*/
SocketEngineBase() { }
SocketEngineBase();
/** Default destructor
*/
virtual ~SocketEngineBase() { }
virtual ~SocketEngineBase();
/** Add a socket to the internal list
* @param s The socket