In send, use const unsigned char *
diff --git a/ndn-cpp/transport/UdpTransport.hpp b/ndn-cpp/transport/UdpTransport.hpp
index a24a4dc..eab7232 100644
--- a/ndn-cpp/transport/UdpTransport.hpp
+++ b/ndn-cpp/transport/UdpTransport.hpp
@@ -26,7 +26,7 @@
    */
   virtual void connect(NDN &ndn);
   
-  virtual void send(unsigned char *data, unsigned int dataLength);
+  virtual void send(const unsigned char *data, unsigned int dataLength);
 
   virtual void tempReceive();