[netperf-talk] Loopback test on XP "connection forcibly closed"; WDK errors

Kevin Murphy kj at murphy.net
Wed Aug 19 11:28:23 PDT 2009


1) Downloaded sources for netperf 2.4.52) Downloaded WDK 7
3) Made changes to netserver.c per July 23, 2009 email. Mostly around
cmdline parsing
4) Started WDK - x86 free build environment
5) Built netserver

*Launching OACR monitor
**C:\WinDDK\7600.16385.0>cd \netperf-2.4.5\src\NetServerDir*
*
**C:\netperf-2.4.5\src\NetServerDir>build /c*
*BUILD: Compile and Link for x86*
*BUILD: Loading c:\winddk\7600.16385.0\build.dat...*
*BUILD: Computing Include file dependencies:*
*BUILD: Start time: Wed Aug 19 14:05:43 2009*
*BUILD: Examining c:\netperf-2.4.5\src\netserverdir directory for files to
compile.*
*BUILD: Saving c:\winddk\7600.16385.0\build.dat...*
*BUILD: Compiling and Linking c:\netperf-2.4.5\src\netserverdir directory*
*Configuring OACR for 'root:x86fre' - <OACR on>*
*_NT_TARGET_VERSION SET TO WINXP*
*Compiling - netcpu_ntperf.c*
*Compiling - netlib.c*
*Compiling - netsh.c*
*Compiling - nettest_bsd.c*
*Compiling - netserver.c*
*Compiling - generating code...*
*Compiling - inet_ntop.c*
*Linking Executable - objfre_wxp_x86\i386\netserver.exe*
*BUILD: Finish time: Wed Aug 19 14:05:48 2009*
*BUILD: Done*
*
**    10 files compiled - 1 Warning*

5) built netperf

*Launching OACR monitor
**C:\WinDDK\7600.16385.0>cd \netperf-2.4.5\src\NetServerDir*
*
**C:\netperf-2.4.5\src\NetServerDir>build /c*
*BUILD: Compile and Link for x86*
*BUILD: Loading c:\winddk\7600.16385.0\build.dat...*
*BUILD: Computing Include file dependencies:*
*BUILD: Start time: Wed Aug 19 14:05:43 2009*
*BUILD: Examining c:\netperf-2.4.5\src\netserverdir directory for files to
compil*
*e.*
*BUILD: Saving c:\winddk\7600.16385.0\build.dat...*
*BUILD: Compiling and Linking c:\netperf-2.4.5\src\netserverdir directory*
*Configuring OACR for 'root:x86fre' - <OACR on>*
*_NT_TARGET_VERSION SET TO WINXP*
*Compiling - netcpu_ntperf.c*
*Compiling - netlib.c*
*Compiling - netsh.c*
*Compiling - nettest_bsd.c*
*Compiling - netserver.c*
*Compiling - generating code...*
*Compiling - inet_ntop.c*
*Linking Executable - objfre_wxp_x86\i386\netserver.exe*
*BUILD: Finish time: Wed Aug 19 14:05:48 2009*
*BUILD: Done*
*
**    10 files compiled - 1 Warning*

6) started netserver (no commandline options)
7) netstat -an shows netserver listening on TCP 0.0.0.0:12865
8) started netperf on same host. Netserver stops, and netperf reports

*C:\netperf-2.4.5\src\NetPerfDir>objfre_wxp_x86\i386\netperf**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*
*recv_response: An existing connection was forcibly closed by the remote
host.*

9) Of interest WDK is reporting 80 errors - all essentially the same error
for several files including netlib.c, netserver.c, etc.

*WARNING: Banned API Usage: _snprintf is a Banned API as listed in dontuse.h
for security purposes.*


Thanks - Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.netperf.org/pipermail/netperf-talk/attachments/20090819/bfa85c94/attachment.htm 


More information about the netperf-talk mailing list