Pass the NDN object to connect. Added TcpTransport::tempReceive()
diff --git a/ndn-cpp/transport/Transport.hpp b/ndn-cpp/transport/Transport.hpp
index 655ce6e..94e60ec 100644
--- a/ndn-cpp/transport/Transport.hpp
+++ b/ndn-cpp/transport/Transport.hpp
@@ -7,14 +7,13 @@
#define NDN_TRANSPORT_HPP
namespace ndn {
-
+
+class NDN;
class Transport {
public:
- virtual void connect(const char *host, unsigned short port);
+ virtual void connect(NDN &ndn);
virtual void send(unsigned char *data, unsigned int dataLength);
-
- virtual unsigned int receive(unsigned char *buffer, unsigned int bufferLength);
};
}