diff --git a/sendArp.sln b/sendArp.sln new file mode 100755 index 0000000..f81de61 --- /dev/null +++ b/sendArp.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sendArp", "sendArp.vcxproj", "{50A6DFEC-88EE-4D96-A48B-F02D64C1FDF3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {50A6DFEC-88EE-4D96-A48B-F02D64C1FDF3}.Debug|Win32.ActiveCfg = Debug|Win32 + {50A6DFEC-88EE-4D96-A48B-F02D64C1FDF3}.Debug|Win32.Build.0 = Debug|Win32 + {50A6DFEC-88EE-4D96-A48B-F02D64C1FDF3}.Release|Win32.ActiveCfg = Release|Win32 + {50A6DFEC-88EE-4D96-A48B-F02D64C1FDF3}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/sendArp.vcxproj b/sendArp.vcxproj new file mode 100755 index 0000000..153c61f --- /dev/null +++ b/sendArp.vcxproj @@ -0,0 +1,84 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {50A6DFEC-88EE-4D96-A48B-F02D64C1FDF3} + Win32Proj + sendArp + + + + Application + true + v110 + Unicode + + + Application + false + v110 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/sendArp.vcxproj.filters b/sendArp.vcxproj.filters new file mode 100755 index 0000000..7602806 --- /dev/null +++ b/sendArp.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + \ No newline at end of file diff --git a/sendarp.c b/sendarp.c index 1a70fa9..b587da1 100755 --- a/sendarp.c +++ b/sendarp.c @@ -39,6 +39,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include +// Need to link with some libraries +#pragma comment(lib, "Ws2_32.lib") +#pragma comment(lib, "iphlpapi.lib") + // Prints out an error string and returns an error code void makeError(char *errString) {