diff options
-rw-r--r-- | src/stable/protocoltelnet.cpp | 5 | ||||
-rw-r--r-- | src/stable/protocoltelnet.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp index d1d47a5..1461b0e 100644 --- a/src/stable/protocoltelnet.cpp +++ b/src/stable/protocoltelnet.cpp | |||
@@ -321,6 +321,11 @@ void Bu::ProtocolTelnet::write( char cData ) | |||
321 | write( &cData, 1 ); | 321 | write( &cData, 1 ); |
322 | } | 322 | } |
323 | 323 | ||
324 | void Bu::ProtocolTelnet::flush() | ||
325 | { | ||
326 | pClient->flush(); | ||
327 | } | ||
328 | |||
324 | void Bu::ProtocolTelnet::onWill( char cCode ) | 329 | void Bu::ProtocolTelnet::onWill( char cCode ) |
325 | { | 330 | { |
326 | try | 331 | try |
diff --git a/src/stable/protocoltelnet.h b/src/stable/protocoltelnet.h index 104f029..60faef4 100644 --- a/src/stable/protocoltelnet.h +++ b/src/stable/protocoltelnet.h | |||
@@ -123,6 +123,7 @@ namespace Bu | |||
123 | void write( const Bu::String &sData ); | 123 | void write( const Bu::String &sData ); |
124 | void write( const char *pData, int iSize ); | 124 | void write( const char *pData, int iSize ); |
125 | void write( char cData ); | 125 | void write( char cData ); |
126 | void flush(); | ||
126 | 127 | ||
127 | const Bu::String &getBuffer() { return sDataBuf; } | 128 | const Bu::String &getBuffer() { return sDataBuf; } |
128 | 129 | ||