summaryrefslogtreecommitdiff
path: root/server/src/tcpsocket.h
diff options
context:
space:
mode:
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).