1) Downloaded sources for netperf 2.4.5<div>2) Downloaded WDK 7</div><div>3) Made changes to netserver.c per July 23, 2009 email. Mostly around cmdline parsing</div><div>4) Started WDK - x86 free build environment</div><div>
5) Built netserver</div><div><div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><b>Launching OACR monitor<br></b><div><b>C:\WinDDK\7600.16385.0&gt;cd \netperf-2.4.5\src\NetServerDir</b></div>
<b><br></b><div><b>C:\netperf-2.4.5\src\NetServerDir&gt;build /c</b></div><div><b>BUILD: Compile and Link for x86</b></div><div><b>BUILD: Loading c:\winddk\7600.16385.0\build.dat...</b></div><div><b>BUILD: Computing Include file dependencies:</b></div>
<div><b>BUILD: Start time: Wed Aug 19 14:05:43 2009</b></div><div><b>BUILD: Examining c:\netperf-2.4.5\src\netserverdir directory for files to compile.</b></div><div><b>BUILD: Saving c:\winddk\7600.16385.0\build.dat...</b></div>
<div><b>BUILD: Compiling and Linking c:\netperf-2.4.5\src\netserverdir directory</b></div><div><b>Configuring OACR for &#39;root:x86fre&#39; - &lt;OACR on&gt;</b></div><div><b>_NT_TARGET_VERSION SET TO WINXP</b></div><div>
<b>Compiling - netcpu_ntperf.c</b></div><div><b>Compiling - netlib.c</b></div><div><b>Compiling - netsh.c</b></div><div><b>Compiling - nettest_bsd.c</b></div><div><b>Compiling - netserver.c</b></div><div><b>Compiling - generating code...</b></div>
<div><b>Compiling - inet_ntop.c</b></div><div><b>Linking Executable - objfre_wxp_x86\i386\netserver.exe</b></div><div><b>BUILD: Finish time: Wed Aug 19 14:05:48 2009</b></div><div><b>BUILD: Done</b></div><b><br></b><div><b>    10 files compiled - 1 Warning</b></div>
</blockquote></div><div>5) built netperf</div><div><div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><b>Launching OACR monitor<br></b><div><b>C:\WinDDK\7600.16385.0&gt;cd \netperf-2.4.5\src\NetServerDir</b></div>
<b><br></b><div><b>C:\netperf-2.4.5\src\NetServerDir&gt;build /c</b></div><div><b>BUILD: Compile and Link for x86</b></div><div><b>BUILD: Loading c:\winddk\7600.16385.0\build.dat...</b></div><div><b>BUILD: Computing Include file dependencies:</b></div>
<div><b>BUILD: Start time: Wed Aug 19 14:05:43 2009</b></div><div><b>BUILD: Examining c:\netperf-2.4.5\src\netserverdir directory for files to compil</b></div><div><b>e.</b></div><div><b>BUILD: Saving c:\winddk\7600.16385.0\build.dat...</b></div>
<div><b>BUILD: Compiling and Linking c:\netperf-2.4.5\src\netserverdir directory</b></div><div><b>Configuring OACR for &#39;root:x86fre&#39; - &lt;OACR on&gt;</b></div><div><b>_NT_TARGET_VERSION SET TO WINXP</b></div><div>
<b>Compiling - netcpu_ntperf.c</b></div><div><b>Compiling - netlib.c</b></div><div><b>Compiling - netsh.c</b></div><div><b>Compiling - nettest_bsd.c</b></div><div><b>Compiling - netserver.c</b></div><div><b>Compiling - generating code...</b></div>
<div><b>Compiling - inet_ntop.c</b></div><div><b>Linking Executable - objfre_wxp_x86\i386\netserver.exe</b></div><div><b>BUILD: Finish time: Wed Aug 19 14:05:48 2009</b></div><div><b>BUILD: Done</b></div><b><br></b><div><b>    10 files compiled - 1 Warning</b></div>
</blockquote></div><div>6) started netserver (no commandline options)</div><div>7) netstat -an shows netserver listening on TCP <a href="http://0.0.0.0:12865">0.0.0.0:12865</a></div><div>8) started netperf on same host. Netserver stops, and netperf reports </div>
<div><div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><b>C:\netperf-2.4.5\src\NetPerfDir&gt;objfre_wxp_x86\i386\netperf</b><div><b>TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to John (127.0.0.1) port 0 AF_INET</b></div>
<div><b>recv_response: An existing connection was forcibly closed by the remote host.</b></div></blockquote></div><div>9) Of interest WDK is reporting 80 errors - all essentially the same error for several files including netlib.c, netserver.c, etc. </div>
<div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><b>WARNING: Banned API Usage: _snprintf is a Banned API as listed in dontuse.h for security purposes.</b></blockquote>
</div><div><br></div><div>Thanks - Kevin</div></div></div></div>