commit | beb8b7dae9bb8531dcc77a289048fa993b4134ee | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Jul 16 15:49:21 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Jul 16 15:49:21 2013 -0700 |
tree | abfb45efc4ff8b04c8ba7ae85cc7ba0228a8e399 | |
parent | c172be37081652fb3b7ec44eeab13aa92c515616 [diff] [blame] |
Pass host and port to NDN constructor and Transport::connect
diff --git a/ndn-cpp/transport/TcpTransport.hpp b/ndn-cpp/transport/TcpTransport.hpp index a8a354e..a5d0ca8 100644 --- a/ndn-cpp/transport/TcpTransport.hpp +++ b/ndn-cpp/transport/TcpTransport.hpp
@@ -18,7 +18,7 @@ ndn_TcpTransport_init(&transport_); } - virtual void connect(char *host, unsigned short port); + virtual void connect(const char *host, unsigned short port); virtual void send(unsigned char *data, unsigned int dataLength);