Obaid | 2ea377f | 2014-02-27 19:45:15 -0600 | [diff] [blame] | 1 | /* -*- 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 | |
Obaid | 3f48fe5 | 2014-02-27 21:45:23 -0600 | [diff] [blame^] | 7 | #include "nrd.hpp" |
| 8 | |
Obaid | 2ea377f | 2014-02-27 19:45:15 -0600 | [diff] [blame] | 9 | int |
| 10 | main(int argc, char** argv) |
| 11 | { |
Obaid | 3f48fe5 | 2014-02-27 21:45:23 -0600 | [diff] [blame^] | 12 | 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 | } |
Obaid | 2ea377f | 2014-02-27 19:45:15 -0600 | [diff] [blame] | 20 | return 0; |
| 21 | } |