This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.
Diff: main.cpp
- Revision:
- 6:66c4cd9073aa
- Parent:
- 0:d494b853ce97
- Child:
- 7:e34ae4c7eb79
--- a/main.cpp Tue Oct 12 06:37:21 2010 +0000 +++ b/main.cpp Tue Oct 12 06:46:22 2010 +0000 @@ -10,6 +10,18 @@ #include <string> #include <queue> +/** + \file main.c + \brief This is the primary NetTool demo file. + + This file is the brains of the NetTool, utilizing the networking code + found in other files to do some basic network diagnostic stuff. + Note that for the nettool to connect to a computer, the computer has + to already have an IP configured on the interface, which usually + requires that the interface or connection be manually assigned an IP + address. +*/ + // The main logger (global scope) Sniffer sniffer; Log main_log;