WinSock Win32 API 的打包類(lèi)和例子程序 < WinSock > winSocket/winSocketEx: 如果你正在Windows環(huán)境中用C++編寫(xiě)TCP/IP網(wǎng)絡(luò)程序,那么使用這個(gè)打包類(lèi)吧,我想它不會(huì)讓你失望的。winSocket幾乎封裝了編寫(xiě)TCP/IP網(wǎng)絡(luò)應(yīng)用程序所需的所有內(nèi)容,winSocketEx加入了對(duì)SOCKS 4/5代理服務(wù)器的支持。使得在自己的程序中加入代理支持易如反掌。這個(gè)打包類(lèi)支持的特性包括:Connect、Send、Receive、CLOSE、Listen、Bind、Accept、asyncSelect、get_LocalHost、get_LocalPort、get_RemoteHost、get_RemotePort等等。 [代碼性質(zhì)] VC可重用代碼段 [代碼作者] ryan [文件大小] 53K 聲明:轉(zhuǎn)自其他網(wǎng)站
標(biāo)簽: WinSock winSocketEx winSocket Windows
上傳時(shí)間: 2014-12-01
上傳用戶(hù):youke111
一、目的要求 1、用高級(jí)語(yǔ)言編寫(xiě)和調(diào)試一個(gè)簡(jiǎn)單的文件系統(tǒng),模擬文件管理的工作過(guò)程。從而對(duì)各種文件操作命令的實(shí)質(zhì)內(nèi)容和執(zhí)行過(guò)程有比較深入的了解。 2、要求設(shè)計(jì)一個(gè) n個(gè)用戶(hù)的文件系統(tǒng),每次用戶(hù)可保存m個(gè)文件,用戶(hù)在一次運(yùn)行中只能打開(kāi)一個(gè)文件,對(duì)文件必須設(shè)置保護(hù)措施,且至少有Create、delete、open、CLOSE、read、write等命令。
標(biāo)簽: 高級(jí)語(yǔ)言 編寫(xiě) 文件系統(tǒng) 調(diào)試
上傳時(shí)間: 2014-10-10
上傳用戶(hù):fredguo
單片機(jī)操作MMC/SD卡讀寫(xiě)fat12/16/32文件系統(tǒng)的程序,外國(guó)網(wǎng)站找到的,支持文件open,read write mkdir CLOSE 等,基本pc文件功能都支持,專(zhuān)門(mén)針對(duì)8位mcu,方便移植到各種單片機(jī)系統(tǒng),占用資源很少
上傳時(shí)間: 2016-03-24
上傳用戶(hù):yuanyuan123
ET++ is a portable and homogenous object-oriented class library integrating user interface building blocks, basic data structures, and high level application framework components. ET++ eases the building of highly interactive applications with consistent user interfaces following the direct manipulation principle. The ET++ class library is implemented in C++ and can be used on several operating systems and window system platforms. Since its initial conception the class library has been continuously redesigned and improved. It started with an architecture which was CLOSE to MacApp. During several iterations a new and unique architecture evolved. A byproduct of the ET++ project is a set of tools, which were designed to support the exploration of ET++ applications at run-time. 設(shè)計(jì)模式一書(shū)引用的主要參考例程,一個(gè)跨平臺(tái)的應(yīng)用框架,基于C++實(shí)現(xiàn),是學(xué)習(xí)面向?qū)ο蟮慕?jīng)典源碼.
標(biāo)簽: object-oriented integrating homogenous interface
上傳時(shí)間: 2016-04-15
上傳用戶(hù):tedo811
The last step in training phase is refinement of the clusters found above. Although DynamicClustering counters all the basic k-means disadvantages, setting the intra-cluster similarity r may require experimentation. Also, a cluster may have a lot in common with another, i.e., sequences assigned to it are as CLOSE to it as they are to another cluster. There may also be denser sub-clusters within the larger ones.
標(biāo)簽: DynamicClusteri refinement Although clusters
上傳時(shí)間: 2014-01-04
上傳用戶(hù):watch100
看n2實(shí)例 #Create a simulator object set ns [new Simulator] #Define different colors for data flows #$ns color 1 Blue #$ns color 2 Red #Open the nam trace file set nf [open out-1.nam w] $ns namtrace-all $nf set f0 [open out0.tr w] set f1 [open out1.tr w] #Define a finish procedure proc finish {} { global ns nf $ns flush-trace #CLOSE the trace file CLOSE $nf #Execute nam on the trace file exit 0 } #Create four nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] #Create links between the nodes $ns duplex-link $n0 $n2 1Mb 10ms
標(biāo)簽: simulator Simulator different Create
上傳時(shí)間: 2016-07-02
上傳用戶(hù):wfl_yy
主要源碼: void CFDlg::OnChangeEdit1() { UpdateData() m_strExt.MakeUpper() m_list.ResetContent() if(m_strExt.GetLength()==0) return CStdioFile sf if(sf.Open("FileExt.txt",Cfile::modeRead)) { CString strTemp,strOut while(sf.ReadString(strTemp)) { if(strTemp.Left(m_strExt.GetLength()) ==m_strExt) { m_list.AddString(strTemp) } } } sf.CLOSE() m_list.SetCurSel(0) this->OnSelchangeList2() } void CFDlg::OnSelchangeList2() { CString strTemp,strExt m_list.GetText(m_list.GetCurSel(),strTemp) strExt=strTemp.Left(strTemp.FindOneOf(" ")) //MessageBox(strExt) CString strFileName ="eee."+strExt //MessageBox(strFileName) SHFILEINFO shfi memset(&shfi,0,sizeof(shfi)) //或者ZeroMemory(&shfi,sizeof(shfi)) ::SHGetFileInfo(strFileName, FILE_ATTRIBUTE_NORMAL, &shfi, sizeof(shfi), SHGFI_ICON|SHGFI_USEFILEATTRIBUTES) m_icon.SetIcon(shfi.hIcon) }
標(biāo)簽: OnChangeEdit1 UpdateData ResetConte MakeUpper
上傳時(shí)間: 2013-12-20
上傳用戶(hù):zl5712176
為L(zhǎng)INUX設(shè)計(jì)一個(gè)簡(jiǎn)單的二級(jí)文件系統(tǒng)。要求做到以下幾點(diǎn): 1、 可以實(shí)現(xiàn)下列幾條命令 Login 用戶(hù)登錄 Dir 列文件目錄 Create 創(chuàng)建文件 Delete 刪除文件 Open 打開(kāi)文件 CLOSE 關(guān)閉文件 Read 讀文件 Write 寫(xiě)文件 2、列目錄時(shí)要列出文件名、物理地址、保護(hù)碼和文件長(zhǎng)度。 3、源文件可以進(jìn)行讀寫(xiě)保護(hù)。
標(biāo)簽: Create Delete LINUX Login
上傳時(shí)間: 2016-07-16
上傳用戶(hù):jeffery
socket編程原理:UNIX系統(tǒng)的I/O命令集,是從Maltics和早期系統(tǒng)中的命令演變出來(lái)的,其模式為打開(kāi)一讀/寫(xiě)一關(guān)閉(open-write-read- CLOSE)。在一個(gè)用戶(hù)進(jìn)程進(jìn)行I/O操作時(shí),它首先調(diào)用“打開(kāi)”獲得對(duì)指定文件或設(shè)備的使用權(quán),并返回稱(chēng)為文件描述符的整型數(shù)
上傳時(shí)間: 2016-08-12
上傳用戶(hù):懶龍1988
pl/sql的綜合運(yùn)用上例用到的oracle里關(guān)于游標(biāo)的幾個(gè)內(nèi)置函數(shù):%isopen,%notfound,%rowcount。 隱式游標(biāo)更多用在for loop中,你不用再手工去open,fetch或是CLOSE游標(biāo),非常方便
標(biāo)簽: notfound rowcount oracle isopen
上傳時(shí)間: 2013-12-19
上傳用戶(hù):ikemada
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1