commit | 5796388f8129beb4fe97d69264203e0c9f72aada | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Mon Aug 05 16:01:25 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Mon Aug 05 16:01:25 2013 -0700 |
tree | 44262f1d7a30b38e1dc5792b81f234cd38b8b08c | |
parent | 5a6b5ab7f961fb77a7112d588b8edc03e60f623e [diff] [blame] |
Added Transport close method
diff --git a/ndn-cpp/transport/TcpTransport.hpp b/ndn-cpp/transport/TcpTransport.hpp index 88e61fb..da8b103 100644 --- a/ndn-cpp/transport/TcpTransport.hpp +++ b/ndn-cpp/transport/TcpTransport.hpp
@@ -29,6 +29,8 @@ virtual void send(const unsigned char *data, unsigned int dataLength); virtual void tempReceive(); + + virtual void close(); private: struct ndn_TcpTransport transport_;