[netperf-talk] Building netperf and netserver on Windows

Cook, Jonathan jonathan.cook at nist.gov
Wed Mar 21 12:24:25 PDT 2012


Unfortunately, strndup is not supported in the Windows DDK.  The code for strndup is pretty short so maybe it could be included under a #ifdef WIN32?

Thanks,
Jon Cook

-----Original Message-----
From: Rick Jones [mailto:rick.jones2 at hp.com] 
Sent: Wednesday, March 21, 2012 11:59 AM
To: Cook, Jonathan
Cc: netperf-talk at netperf.org
Subject: Re: [netperf-talk] Building netperf and netserver on Windows

On 03/19/2012 02:50 PM, Cook, Jonathan wrote:
> Thanks, I would appreciate that.

I'm not sure the replacement of strndup with strncpy is good - at least not without other changes to passphrase since it is declared as a char * rather than a fixed-size character array.

The other changes looked OK, so I've applied them and pushed to the repository.

happy benchmarking,

rick jones


More information about the netperf-talk mailing list