summaryrefslogtreecommitdiffstats
path: root/src/Common/ClientConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/ClientConnection.cpp')
-rw-r--r--src/Common/ClientConnection.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Common/ClientConnection.cpp b/src/Common/ClientConnection.cpp
index 0e080fd..7b33fb2 100644
--- a/src/Common/ClientConnection.cpp
+++ b/src/Common/ClientConnection.cpp
@@ -20,6 +20,8 @@
#include "ClientConnection.h"
#include <Net/ClientConnection.h>
+#include "Logger.h"
+
namespace Mad {
namespace Common {
@@ -27,8 +29,8 @@ ClientConnection::ClientConnection() : connection(new Net::ClientConnection) {
connection->signalReceive().connect(sigc::mem_fun(this, &ClientConnection::receive));
}
-void ClientConnection::send(const Net::Packet &packet) {
- connection->send(packet);
+bool ClientConnection::send(const Net::Packet &packet) {
+ return connection->send(packet);
}
void ClientConnection::connect(const Net::IPAddress &address, bool daemon) throw(Net::Exception) {