diff options
Diffstat (limited to 'src/platforms/windows/windowsSocket.cpp')
-rw-r--r-- | src/platforms/windows/windowsSocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/windows/windowsSocket.cpp b/src/platforms/windows/windowsSocket.cpp index feb4dda4..9450efc6 100644 --- a/src/platforms/windows/windowsSocket.cpp +++ b/src/platforms/windows/windowsSocket.cpp @@ -103,7 +103,7 @@ void windowsSocket::connect(const vmime::string& address, const vmime::port_t po } -const bool windowsSocket::isConnected() const +bool windowsSocket::isConnected() const { return (m_desc != -1); } @@ -137,7 +137,7 @@ void windowsSocket::receive(vmime::string& buffer) } -const int windowsSocket::receiveRaw(char* buffer, const int count) +int windowsSocket::receiveRaw(char* buffer, const int count) { int ret = ::recv(m_desc, buffer, count, 0); |