In NDN constructor, put host and port args first.
diff --git a/ndn-cpp/NDN.hpp b/ndn-cpp/NDN.hpp
index 8f6f7bb..9c8f952 100644
--- a/ndn-cpp/NDN.hpp
+++ b/ndn-cpp/NDN.hpp
@@ -17,7 +17,7 @@
 
 class NDN : public ElementListener {
 public:
-  NDN(const ptr_lib::shared_ptr<Transport> &transport, const char *host, unsigned short port)
+  NDN(const char *host, unsigned short port, const ptr_lib::shared_ptr<Transport> &transport)
   : transport_(transport), host_(host), port_(port) 
   {
   }
diff --git a/tests/test-get-async.cpp b/tests/test-get-async.cpp
index f432c25..9a83ac2 100644
--- a/tests/test-get-async.cpp
+++ b/tests/test-get-async.cpp
@@ -45,7 +45,7 @@
   try {
     shared_ptr<UdpTransport> transport(new UdpTransport());
     shared_ptr<MyClosure> closure(new MyClosure());
-    NDN ndn(transport, "E.hub.ndn.ucla.edu", 9695);
+    NDN ndn("E.hub.ndn.ucla.edu", 9695, transport);
     ndn.expressInterest(Name("/ndn/ucla.edu/apps/ndn-js-test/hello.txt/level2/%FD%05%0B%16%7D%95%0E"), closure, 0);
     
     // Pump the receive process.  This should really be done by a socket listener.