Pass the NDN object to connect. Added TcpTransport::tempReceive()
diff --git a/ndn-cpp/NDN.cpp b/ndn-cpp/NDN.cpp
index c41f1d7..5a3d829 100644
--- a/ndn-cpp/NDN.cpp
+++ b/ndn-cpp/NDN.cpp
@@ -18,7 +18,7 @@
   vector<unsigned char> encoding;
   interest.encode(encoding);  
 
-  transport_->connect(host_.c_str(), port_);
+  transport_->connect(*this);
   transport_->send(&encoding[0], encoding.size());
 }