summaryrefslogtreecommitdiffstats
path: root/src/Net/ClientConnection.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-06-25 02:02:21 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-06-25 02:02:21 +0200
commitc97168bd5113fe726de42a4249df58c679e42240 (patch)
tree9802e84fc817f190e4595ac78c3f3f81f1a8d890 /src/Net/ClientConnection.cpp
parent6aedcd087462eb198958229f3c9785da6ac52cf3 (diff)
downloadmad-c97168bd5113fe726de42a4249df58c679e42240.tar
mad-c97168bd5113fe726de42a4249df58c679e42240.zip
Neuen Receive-Stack implementiert
Diffstat (limited to 'src/Net/ClientConnection.cpp')
-rw-r--r--src/Net/ClientConnection.cpp4
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;