资源简介
iperf移植到vs2010de工程,参考了http://download.csdn.net/detail/onlyforyou/4985129的资源,解决了编译错误的问题。下载后请用vs2010打开工程文件,先右键选择clean清除之前编译的资料再编译即可。

代码片段和文件信息
/*---------------------------------------------------------------
* Copyright (c) 19992000200120022003
* The Board of Trustees of the University of Illinois
* All Rights Reserved.
*---------------------------------------------------------------
* Permission is hereby granted free of charge to any person
* obtaining a copy of this software (Iperf) and associated
* documentation files (the “Software“) to deal in the Software
* without restriction including without limitation the
* rights to use copy modify merge publish distribute
* sublicense and/or sell copies of the Software and to permit
* persons to whom the Software is furnished to do
* so subject to the following conditions:
*
*
* Redistributions of source code must retain the above
* copyright notice this list of conditions and
* the following disclaimers.
*
*
* Redistributions in binary form must reproduce the above
* copyright notice this list of conditions and the following
* disclaimers in the documentation and/or other materials
* provided with the distribution.
*
*
* Neither the names of the University of Illinois NCSA
* nor the names of its contributors may be used to endorse
* or promote products derived from this Software without
* specific prior written permission.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE CONTIBUTORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY
* WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE
* ARISING FROM OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* ________________________________________________________________
* National Laboratory for Applied Network Research
* National Center for Supercomputing Applications
* University of Illinois at Urbana-Champaign
* http://www.ncsa.uiuc.edu
* ________________________________________________________________
*
* delay.c
* by Mark Gates
* -------------------------------------------------------------------
* accurate microsecond delay
* ------------------------------------------------------------------- */
#include “Timestamp.hpp“
#include “util.h“
#include “delay.hpp“
#include “pthread_clock.h“
/* -------------------------------------------------------------------
* A micro-second delay function using POSIX nanosleep(). This allows a
* higher timing resolution (under Linux e.g. it uses hrtimers) does not
* affect any signals and will use up remaining time when interrupted.
* ------------------------------------------------------------------- */
void delay_loop(unsigned long usec)
{
struct ti
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 31120 2010-04-11 03:23 iperf-2.0.5\aclocal.m4
文件 815 2008-05-10 11:18 iperf-2.0.5\AUTHORS
文件 467 2007-08-30 05:57 iperf-2.0.5\autogen.sh
文件 3328 2010-07-09 12:28 iperf-2.0.5\ChangeLog
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\delay.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\error.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\gettimeofday.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\inet_ntop.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\inet_pton.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\signal.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\snprintf.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\string.Po
文件 8 2013-01-11 09:11 iperf-2.0.5\compat\.deps\Thread.Po
文件 3297 2013-01-11 11:18 iperf-2.0.5\compat\delay.cpp
文件 8477 2007-08-30 05:57 iperf-2.0.5\compat\error.c
文件 3523 2007-08-30 05:57 iperf-2.0.5\compat\gettimeofday.c
文件 1153 2007-08-30 06:07 iperf-2.0.5\compat\headers_slim.h
文件 5356 2013-01-11 11:31 iperf-2.0.5\compat\inet_ntop.c
文件 5711 2007-08-30 05:57 iperf-2.0.5\compat\inet_pton.c
文件 13452 2013-01-11 09:11 iperf-2.0.5\compat\Makefile
文件 421 2008-03-13 04:28 iperf-2.0.5\compat\Makefile.am
文件 14486 2010-04-11 03:23 iperf-2.0.5\compat\Makefile.in
文件 43084 2013-01-11 13:57 iperf-2.0.5\compat\setitimer.cpp
文件 7130 2013-01-11 12:47 iperf-2.0.5\compat\signal.c
文件 3534 2007-08-30 05:57 iperf-2.0.5\compat\snprintf.c
文件 3023 2007-08-30 05:57 iperf-2.0.5\compat\string.c
文件 15210 2010-03-31 07:08 iperf-2.0.5\compat\Thread.c
文件 43610 2007-08-30 06:07 iperf-2.0.5\config.guess
文件 7989 2013-01-11 09:11 iperf-2.0.5\config.h
文件 7434 2010-04-11 03:23 iperf-2.0.5\config.h.in
............此处省略190个文件信息
相关资源
- ado数据库MFC图书管理系统vs2010
-
解决安装vs2012后vs2010 li
nk : fatal er - AnkhSvn-2.6.12735 支持VS2010-VS2015 官方原版
- VS2010、VS2012、VS2013代码自动注释插件
- 插件式GIS应用框架的设计与实现&mda
- 通过x264录制RGB屏幕视频vs2013工程,
- G726、G711、G711A转换为AAC
- VS2010 运行时库
- vs2010 ffmpeg实时解码h264码流
- 个人银行账户管理系统
- CMake-3.9.0
- 基于FFMPEG_SDL2_音视频播放_参考音频时
- G-code-Interpreter,G代码解释器
- 三款主题VS2010
- VS2010黑色主题Dark主题
- Visual Assist X VA_X插件及破解工具,适用
- TabControl用法图解VS2010
- Midas to FLAC3D-vs2010
- 浴池管理系统
- ecc使用源代码——真正好用的vs2010编
- 基于SIFT算法的图像拼接.rar
- VisualStudio 2008-2017系统注释中文包,解
- vs2010 win7下编译的openssl-1.0.2n静态库
- iar 工程转成vs2010工程
- PCL点云库SACSegmentation用法demo
- 相机标定完整工程vs
- iperf-2.0.9-win64.rar
- iperf3 V3.6最新Windows-64位版
- VS2010安装包中的vs_setup.msi文件
- VS2010使用Glog日志类例程
评论
共有 条评论