aboutsummaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2015-07-20 18:50:29 +0000
committerMike Buland <eichlan@xagasoft.com>2015-07-20 18:50:29 +0000
commit598af2576c98e45161ca21662434423f349958cc (patch)
tree1489111bed01573ec2e0e51944d6d140df20f14c /src/stable/protocoltelnet.h
parentb5e1c2fba2b372aa19e1c857c176a175f30241d8 (diff)
downloadlibbu++-598af2576c98e45161ca21662434423f349958cc.tar.gz
libbu++-598af2576c98e45161ca21662434423f349958cc.tar.bz2
libbu++-598af2576c98e45161ca21662434423f349958cc.tar.xz
libbu++-598af2576c98e45161ca21662434423f349958cc.zip
Added a close function. It's nice to be able to close your connection whenever
you want to.
Diffstat (limited to '')
-rw-r--r--src/stable/protocoltelnet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.h b/src/stable/protocoltelnet.h
index 19298dc..efc8889 100644
--- a/src/stable/protocoltelnet.h
+++ b/src/stable/protocoltelnet.h
@@ -125,6 +125,7 @@ namespace Bu
125 void write( const char *pData, int iSize ); 125 void write( const char *pData, int iSize );
126 void write( char cData ); 126 void write( char cData );
127 void flush(); 127 void flush();
128 void close();
128 129
129 const Bu::String &getBuffer() { return sDataBuf; } 130 const Bu::String &getBuffer() { return sDataBuf; }
130 131