From 812bb37b7e73104d97da35eb3e66046495aaa305 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 25 Jul 2008 18:30:10 +0000 Subject: minor cleanups --- src/core/netclient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/netclient.h') diff --git a/src/core/netclient.h b/src/core/netclient.h index 39c425f..3671b4e 100644 --- a/src/core/netclient.h +++ b/src/core/netclient.h @@ -49,8 +49,8 @@ public: /// bufer incoming data void receive(char *data); - /// buffer outgoing data - void send(std::string const &msg); + /// add a raw network message to the send queue + void send_raw(std::string const &msg); /// return true if there is buffered incoming data bool has_messages() const; @@ -58,7 +58,7 @@ public: /// retreive buffered incoming data void retreive(std::string & message); - /// transmit buffered outgoing data + /// transmit messages in the send queue to the remote client void transmit(int serverfd); inline bool error() const { return client_error; } -- cgit v1.2.3