summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
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
106void Bu::Client::write( const Bu::FString &sData )
107{
108 sWriteBuf += sData;
109}
110
106void Bu::Client::write( const void *pData, int nBytes ) 111void Bu::Client::write( const void *pData, int nBytes )
107{ 112{
108 sWriteBuf.append( (const char *)pData, nBytes ); 113 sWriteBuf.append( (const char *)pData, nBytes );