diff options
Diffstat (limited to '')
-rw-r--r-- | src/client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 19d2778..ee301e9 100644 --- a/src/client.cpp +++ b/src/client.cpp | |||
@@ -103,6 +103,11 @@ bool Bu::Client::isOpen() | |||
103 | return pSocket->isOpen(); | 103 | return pSocket->isOpen(); |
104 | } | 104 | } |
105 | 105 | ||
106 | void Bu::Client::write( const Bu::FString &sData ) | ||
107 | { | ||
108 | sWriteBuf += sData; | ||
109 | } | ||
110 | |||
106 | void Bu::Client::write( const void *pData, int nBytes ) | 111 | void Bu::Client::write( const void *pData, int nBytes ) |
107 | { | 112 | { |
108 | sWriteBuf.append( (const char *)pData, nBytes ); | 113 | sWriteBuf.append( (const char *)pData, nBytes ); |