commit | 0cb7aeeb83ef28d44c5745efb22e9a4c26dd2c1d | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Jul 16 16:18:06 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Jul 16 16:18:06 2013 -0700 |
tree | 4b13be98e2f4e5852b9dd50bf67fcfe421aab726 | |
parent | 48abd92dcfdca687bfc5d44edd6f3cdb3bbbcc92 [diff] [blame] |
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()); }