diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-06-25 02:02:21 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-06-25 02:02:21 +0200 |
commit | c97168bd5113fe726de42a4249df58c679e42240 (patch) | |
tree | 9802e84fc817f190e4595ac78c3f3f81f1a8d890 /src/Net/ClientConnection.cpp | |
parent | 6aedcd087462eb198958229f3c9785da6ac52cf3 (diff) | |
download | mad-c97168bd5113fe726de42a4249df58c679e42240.tar mad-c97168bd5113fe726de42a4249df58c679e42240.zip |
Neuen Receive-Stack implementiert
Diffstat (limited to 'src/Net/ClientConnection.cpp')
-rw-r--r-- | src/Net/ClientConnection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Net/ClientConnection.cpp b/src/Net/ClientConnection.cpp index 1897b50..d49054d 100644 --- a/src/Net/ClientConnection.cpp +++ b/src/Net/ClientConnection.cpp @@ -62,6 +62,8 @@ void ClientConnection::connect(const IPAddress &address) throw(ConnectionExcepti throw ConnectionException("gnutls_handshake()", gnutls_strerror(ret)); } + + enterReceiveLoop(); } void ClientConnection::disconnect() { @@ -80,7 +82,7 @@ void ClientConnection::disconnect() { connected = false; } -bool ClientConnection::dataPending() { +bool ClientConnection::dataPending() const { if(!connected) return false; |