diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-25 18:30:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-25 18:30:10 +0000 |
commit | 812bb37b7e73104d97da35eb3e66046495aaa305 (patch) | |
tree | 63ee32e2c53d35aeb3dc219c8caa211de5fbf0cd /src/core/netclient.h | |
parent | abe6c3dc6e6f9df40345d6aaf19f12fdfa3f3024 (diff) |
minor cleanups
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r-- | src/core/netclient.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |