summaryrefslogtreecommitdiff
path: root/server/src/tcpsocket.h
diff options
context:
space:
mode:
authordeva <deva>2007-09-03 09:58:51 +0000
committerdeva <deva>2007-09-03 09:58:51 +0000
commit41e5a068b0b595be86797fd12035dabb87c21f36 (patch)
tree7d9dd21b54d5d8075b220e5aa06526387ca53d20 /server/src/tcpsocket.h
parentf49186b63888caedd5e0dad4a52a680fb28834a4 (diff)
Simplified TCP socket write of strings. Cleaned up debug output.
Diffstat (limited to 'server/src/tcpsocket.h')
-rw-r--r--server/src/tcpsocket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/tcpsocket.h b/server/src/tcpsocket.h
index 45d94ee..393d40b 100644
--- a/server/src/tcpsocket.h
+++ b/server/src/tcpsocket.h
@@ -158,6 +158,7 @@ public:
* @return The actual number of bytes written.
*/
int write(char *data, int size) throw(TCPWriteException);
+ int write(std::string data) throw(TCPWriteException);
/**
* Get the source address of the socket (IP address not DNS name).