blob: ce89f3f43889cca2851640e373b2bb7865bf55dd [file] [log] [blame]
Obaid2ea377f2014-02-27 19:45:15 -06001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 */
6
Obaid3f48fe52014-02-27 21:45:23 -06007#include "nrd.hpp"
8
Obaid2ea377f2014-02-27 19:45:15 -06009int
10main(int argc, char** argv)
11{
Obaid3f48fe52014-02-27 21:45:23 -060012 try {
13 ndn::nrd::Nrd nrd;
14 nrd.enableLocalControlHeader();
15 nrd.listen();
16 }
17 catch (std::exception& e) {
18 std::cerr << "ERROR: " << e.what() << std::endl;
19 }
Obaid2ea377f2014-02-27 19:45:15 -060020 return 0;
21}