[netperf-talk] netserver cannot give correct responses to the netperf on Windows
Rick Jones
rick.jones2 at hp.com
Tue Aug 17 09:57:21 PDT 2010
George Wang wrote:
> Dear all,
>
> I came cross same problems I found in the 2009-July's archive.
>
> can't use the netper2.4.5 on windows platform after compiling with windows DDK
> http://www.netperf.org/pipermail/netperf-talk/2009-July/000591.html
>
> and
>
> Problem when running netserver in a windows machine
> http://www.netperf.org/pipermail/netperf-talk/2009-July/000599.html
>
> But failed to find a solution.
>
> Run "netserver.exe -p 12910 -4 -d -v 3“
>
> the log from netperf.debug
>
> Starting netserver at hostname 0.0.0.0 port 12910 and family AF_INET
> rinfo returned the following for host '0.0.0.0' port '12910' family AF_INET
> cannonical name: '(nil)'
> flags: 4 family: AF_INET: socktype: SOCK_STREAM protocol IPPROTO_TCP addrlen 16
> sa_family: AF_INET sadata: 50 110 0 0 0 0
> Starting netserver at port 12910
>
> Run “netperf.exe -p 12910”
> TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
> xxx.xxx.xxx.xxx (127.0.0.1) port 0 AF_INET
> netperf: receive_response: no response received. errno 0 counter 0
>
> It's possible to telnet to the port, and I am sure the netperf has
> connected to the netserver. Since if I kill the netserver, I get
> output from the netperf "recv_response: An existing connection was
> forcibly closed by the remote host."
>
Have you tried the top-of-trunk src/netserver.c suggested as a followup to the
"599" message?
rick jones
More information about the netperf-talk
mailing list