From 598af2576c98e45161ca21662434423f349958cc Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 20 Jul 2015 18:50:29 +0000 Subject: Added a close function. It's nice to be able to close your connection whenever you want to. --- src/stable/protocoltelnet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stable/protocoltelnet.h') 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 void write( const char *pData, int iSize ); void write( char cData ); void flush(); + void close(); const Bu::String &getBuffer() { return sDataBuf; } -- cgit v1.2.3