From 8324b947487f72fd8cfc439ea5ae5bd1187fff1b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 6 May 2009 17:39:30 +0200 Subject: Exception und ThreadHandler nach Net verschoben --- src/Common/ClientConnection.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Common/ClientConnection.cpp') diff --git a/src/Common/ClientConnection.cpp b/src/Common/ClientConnection.cpp index e030bfc..0e080fd 100644 --- a/src/Common/ClientConnection.cpp +++ b/src/Common/ClientConnection.cpp @@ -27,11 +27,11 @@ ClientConnection::ClientConnection() : connection(new Net::ClientConnection) { connection->signalReceive().connect(sigc::mem_fun(this, &ClientConnection::receive)); } -bool ClientConnection::send(const Net::Packet &packet) { - return connection->send(packet); +void ClientConnection::send(const Net::Packet &packet) { + connection->send(packet); } -void ClientConnection::connect(const Net::IPAddress &address, bool daemon) throw(Common::Exception) { +void ClientConnection::connect(const Net::IPAddress &address, bool daemon) throw(Net::Exception) { connection->connect(address, daemon); } -- cgit v1.2.3