# Trace
A tool that allows a user to select and trace a single packet.

## Use
You must have CMake and a Pcap library installed. The library used in this project is [WinPcap](https://www.winpcap.org/).
<ol>
  <li>Make a new environment variable <code>PCAP_ROOT_DIR</code> and set it to the folder that contains Pcap</li>
  <li>Open CMake GUI</li>
  <li>Set source directory to <code>.../cmake</code> and the build directory to <code>.../vs</code> (or whatever you want it to be)</li>
  <li>Press "Generate"</li>
  <li>Select the version of Visual Studio you want Trace to build into</li>
  <li>Move to <code>vs/</code> and open the Visual Studio Soltuion file</li>
</ol>

## Known Bugs
Name | Description | Workaround | Status
--- | --- | --- | ---
Escape Character | Error about "\P" escape character shows up in CMake console | Delete generated files and regenerate | Unsolved

# Trace
A tool that allows a user to select and trace a single packet.

## Use
You must have CMake and a Pcap library installed. The library used in this project is [WinPcap](https://www.winpcap.org/).
<ol>
  <li>Make a new environment variable <code>PCAP_ROOT_DIR</code> and set it to the folder that contains Pcap</li>
  <li>Open CMake GUI</li>
  <li>Set source directory to <code>.../cmake</code> and the build directory to <code>.../vs</code> (or whatever you want it to be)</li>
  <li>Press "Generate" (<code>touch</code> and non-CMake files will be deleted)</li>
  <li>Select the version of Visual Studio you want Trace to build into</li>
  <li>Move to <code>vs/</code> and open the Visual Studio Soltuion file</li>
  <li>Right-click the Trace project in the Solution Explorer and set it as the startup project</li>
  <li>Right-click the Trace project in the Solution Explorer and open properties</li>
  <li>Move to <code>Linker --> Input</code> and add <code>wpcap.lib</code> and <code>ws2_32.lib</code>.
  <li>Build solution/project (Ctrl+Shift+B or right click and press build)</li>
  <li>Done!</li>
</ol>

## Known Bugs
Name | Description | Workaround | Status
--- | --- | --- | ---
Escape Character | Error about "\P" escape character shows up in CMake console | Delete files in <code>vs</code>, press Configure, then Generate | Unsolved

Update readme with all steps
Update readme with all steps