diff options
author | deva <deva> | 2007-09-03 09:58:51 +0000 |
---|---|---|
committer | deva <deva> | 2007-09-03 09:58:51 +0000 |
commit | 41e5a068b0b595be86797fd12035dabb87c21f36 (patch) | |
tree | 7d9dd21b54d5d8075b220e5aa06526387ca53d20 /server/src/tcpsocket.h | |
parent | f49186b63888caedd5e0dad4a52a680fb28834a4 (diff) |
Simplified TCP socket write of strings. Cleaned up debug output.
Diffstat (limited to 'server/src/tcpsocket.h')
-rw-r--r-- | server/src/tcpsocket.h | 1 |
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). |