From 80373e44d417891bd82cd74dfc8af54154fcc4b1 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 16 Aug 2010 10:21:03 +0000 Subject: Added stubs for timeout handler (#3045770). --- src/platforms/windows/windowsSocket.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/platforms') diff --git a/src/platforms/windows/windowsSocket.cpp b/src/platforms/windows/windowsSocket.cpp index 3ff9ad50..430c8ea0 100644 --- a/src/platforms/windows/windowsSocket.cpp +++ b/src/platforms/windows/windowsSocket.cpp @@ -38,8 +38,8 @@ namespace windows { // posixSocket // -windowsSocket::windowsSocket() - : m_desc(-1) +windowsSocket::windowsSocket(ref th) + : m_timeoutHandler(th), m_desc(-1) { WSAData wsaData; WSAStartup(MAKEWORD(1, 1), &wsaData); @@ -179,9 +179,14 @@ void windowsSocket::sendRaw(const char* buffer, const size_type count) ref windowsSocketFactory::create() { - return vmime::create (); + ref th = NULL; + return vmime::create (th); } +ref windowsSocketFactory::create(ref th) +{ + return vmime::create (th); +} } // posix } // platforms -- cgit