資源簡介
無線局域網802.11協議CSMACA算法模擬程序

代碼片段和文件信息
//?CsmaCaEmluator.cpp?:?定義控制臺應用程序的入口點。
//
#include?“stdafx.h“
int?_tmain(int?argc?_TCHAR*?argv[])
{
dwBus=0;
DWORD?ThreadID=0;
CreateThread(NULL0HostBNULL0&ThreadID);
CreateThread(NULL0HostANULL0&ThreadID);
srand((unsigned)time(NULL));?
for(int?i=0;i<10000;i++)
{
Sleep((rand()%20)*300);
dwBus=dwBus|CONF;
Sleep(2000);
dwBus=0;
}
return?0;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????411??2007-06-27?04:49??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\CsmaCaEmluator.cpp
?????文件??????35840??2007-01-20?06:25??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\CsmaCaEmluator.ncb
?????文件????????917??2007-01-19?22:55??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\CsmaCaEmluator.sln
?????文件???????8704??2007-01-20?06:25??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\CsmaCaEmluator.suo
?????文件???????3864??2007-01-19?22:55??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\CsmaCaEmluator.vcproj
?????文件???????1033??2007-01-19?22:55??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\ReadMe.txt
?????文件???????1128??2007-01-20?05:46??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\stdafx.cpp
?????文件????????432??2007-01-20?01:54??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code\stdafx.h
?????文件???????3042??2007-01-20?06:25??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Exe\BuildLog.htm
?????文件??????45056??2007-06-26?19:39??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Exe\CsmaCaEmluator.exe
?????文件??????39936??2007-06-27?23:52??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\ReadMe.doc
?????目錄??????????0??2012-06-02?19:21??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Code
?????目錄??????????0??2012-06-02?19:21??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator\Exe
?????目錄??????????0??2012-06-02?19:22??無線局域網802.11協議CSMACA算法模擬程序\CsmaCaEmluator
?????目錄??????????0??2012-06-02?19:21??無線局域網802.11協議CSMACA算法模擬程序
-----------?---------??----------?-----??----
???????????????140363????????????????????15
評論
共有 條評論