diff options
| author | Vincent Richard <[email protected]> | 2010-08-16 12:21:03 +0200 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2010-08-16 12:21:03 +0200 |
| commit | 80373e44d417891bd82cd74dfc8af54154fcc4b1 (patch) | |
| tree | 67f1276947a28b2b2b57d6f3b0668bf994b74c63 /src/platforms | |
| parent | Connection time out. (diff) | |
| download | vmime-80373e44d417891bd82cd74dfc8af54154fcc4b1.tar.gz vmime-80373e44d417891bd82cd74dfc8af54154fcc4b1.zip | |
Added stubs for timeout handler (#3045770).
Diffstat (limited to 'src/platforms')
| -rw-r--r-- | src/platforms/windows/windowsSocket.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
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 <vmime::net::timeoutHandler> 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 <vmime::net::socket> windowsSocketFactory::create() { - return vmime::create <windowsSocket>(); + ref <vmime::net::timeoutHandler> th = NULL; + return vmime::create <windowsSocket>(th); } +ref <vmime::net::socket> windowsSocketFactory::create(ref <vmime::net::timeoutHandler> th) +{ + return vmime::create <windowsSocket>(th); +} } // posix } // platforms |
