Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-25 18:30:10 +0000
committerStijn Buys <ingar@osirion.org>2008-07-25 18:30:10 +0000
commit812bb37b7e73104d97da35eb3e66046495aaa305 (patch)
tree63ee32e2c53d35aeb3dc219c8caa211de5fbf0cd /src/core/netclient.h
parentabe6c3dc6e6f9df40345d6aaf19f12fdfa3f3024 (diff)
minor cleanups
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r--src/core/netclient.h6
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; }