Pass the NDN object to connect. Added TcpTransport::tempReceive()
diff --git a/ndn-cpp/transport/Transport.cpp b/ndn-cpp/transport/Transport.cpp
index 84a4e02..4d6024c 100644
--- a/ndn-cpp/transport/Transport.cpp
+++ b/ndn-cpp/transport/Transport.cpp
@@ -10,7 +10,7 @@
namespace ndn {
-void Transport::connect(const char *host, unsigned short port)
+void Transport::connect(NDN &ndn)
{
throw logic_error("unimplemented");
}
@@ -20,9 +20,4 @@
throw logic_error("unimplemented");
}
-unsigned int Transport::receive(unsigned char *buffer, unsigned int bufferLength)
-{
- throw logic_error("unimplemented");
-}
-
}