freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設(shè)計-c小型ftp服務(wù)器系統(tǒng)-資料下載頁

2024-12-03 20:13本頁面

【導(dǎo)讀】擇等,并給出相應(yīng)的提示。通過該程序的開發(fā),基本上實現(xiàn)了一個FTP服務(wù)器所。應(yīng)該具有的功能,能夠解釋一般的FTP命令,并且符合RFC959規(guī)范。本文中采用了大量的圖表說明,使文章明確清晰,便與閱讀和理解。本程序采用VC++作為開發(fā)工具,設(shè)計步驟采用自頂向下的方法。己所需要的信息資源。有了網(wǎng)絡(luò),使用者不但可以瀏覽各種各樣的信息資源,還。由于網(wǎng)絡(luò)的帶寬及各種服務(wù)的限制,單純從頁面上下載顯得又慢又不可靠,所以就有許多FTP工具提供出來。上說,F(xiàn)TP就是在網(wǎng)絡(luò)中各種不同的計算機(jī)之間按照TCP/IP協(xié)議來傳輸文件。通常服務(wù)器端是遠(yuǎn)程端點,用戶可以通過Inter網(wǎng)絡(luò)連接到遠(yuǎn)程的。只有當(dāng)FTP服務(wù)器支持各種協(xié)議和指。下面我們就來介紹一下我自己開發(fā)一個小。型FTP服務(wù)器的過程與思路。

  

【正文】 hellLink SetPath lpszShortcutFile 。 hr pIShellLink SetDescription lpszDescription 。 if SUCCEEDED hr // Add the target folder to the Start Menu Programs path lstrcat lpszLink, \\ 。 lstrcat lpszLink, lpszRelativeFolder 。 lstrcat lpszLink, \\ 。 // Create the directory if it does not exist CreateDirectory lpszLink,NULL 。 // Add the file name for the shortcut lstrcat lpszLink, lpszDescription 。 lstrcat lpszLink, .lnk 。 // Convert string to Unicode, and call IPersistFile::Save MultiByteToWideChar CP_ACP, 0, lpszLink, 1, pLinkUnicode, _PATH 。 hr ppf Save pLinkUnicode, TRUE 。 ppf Release 。 pIShellLink Release 。 CoUninitialize 。 return hr。 void RemoveStartMenuShortcut LPSTR lpszDescription, LPTSTR lpszRelativeFolder PFNSHGETFOLDERPATHA pSHGetFolderPath NULL。 TCHAR lpszLink[_PATH]。 BOOL bFound FALSE。 pSHGetFolderPath GetFuncPtr_SHGetFolderPathA 。 // Find the current user39。s Start Menu Programs folder if pSHGetFolderPath bFound SUCCEEDED pSHGetFolderPath NULL, CSIDL_PROGRAMS, NULL, 0, lpszLink 。 if bFound // Add the target folder to the Start Menu Programs path lstrcat lpszLink, \\ 。 lstrcat lpszLink, lpszRelativeFolder 。 lstrcat lpszLink, \\ 。 // Add the file name for the shortcut lstrcat lpszLink, lpszDescription 。 lstrcat lpszLink, .lnk 。 DeleteFile lpszLink 。 CString GetShortcutTarget LPCTSTR lpszFilename CoInitialize 0 。 CString strResult。 HRESULT hResult。 IShellLink *psl。 char szPath[_PATH]。 WIN32_FIND_DATA findData。 // Get a pointer to the IShellLink interface. hResult CoCreateInstance CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, void ** amp。psl 。 if SUCCEEDED hResult IPersistFile *ppf。 // Get a pointer to the IPersistFile interface. hResult psl QueryInterface IID_IPersistFile, void ** amp。ppf 。 if SUCCEEDED hResult WORD wsz [_PATH]。 // buffer for Unicode string // Ensure that the string consists of Unicode characters. MultiByteToWideChar CP_ACP, 0, lpszFilename, 1, wsz, _PATH 。 // Load the shortcut. hResult ppf Load wsz, STGM_READ 。 if SUCCEEDED hResult // Resolve the shortcut. hResult psl Resolve 0, SLR_ANY_MATCH|SLR_NO_UI 。 if SUCCEEDED hResult lstrcpy szPath, lpszFilename 。 // Get the path to the shortcut target. hResult psl GetPath szPath, _PATH, WIN32_FIND_DATA * amp。findData, 0 。 strResult szPath。 // Release the pointer to IPersistFile. ppf Release 。 // Release the pointer to IShellLink. psl Release 。 CoUninitialize 。 if SUCCEEDED hResult return strResult。 else return 。 // Pump messages while waiting for event BOOL WaitWithMessageLoop HANDLE hEvent, int nTimeout DWORD dwRet。 while 1 // wait for event or message, if it39。s a message, process it and return to waiting state dwRet MsgWaitForMultipleObjects 1, amp。hEvent, FALSE, nTimeout, QS_ALLINPUT 。 if dwRet WAIT_OBJECT_0 TRACE0 WaitWithMessageLoop event triggered.\n 。 return TRUE。 else if dwRet WAIT_OBJECT_0 + 1 // process window messages AfxGetApp PumpMessage 。 else if dwRet WAIT_TIMEOUT // timed out ! return FALSE。 else // WAIT_ABANDONED_0 ... return TRUE。 void AutoSizeColumns CListCtrl *pListCtrl // Call this after your the control is filled pListCtrl SetRedraw FALSE 。 int mincol 0。 int col pListCtrl GetHeaderCtrl GetItemCount 1。 for int col mincol。 col col。 col++ pListCtrl SetColumnWidth col, LVSCW_AUTOSIZE 。 int wc1 pListCtrl GetColumnWidth col 。 pListCtrl SetColumnWidth col, LVSCW_AUTOSIZE_USEHEADER 。 int wc2 pListCtrl GetColumnWidth col 。 // 10 is minumim column width int wc 10, wc1,wc2 。 pListCtrl SetColumnWidth col,wc 。 pListCtrl SetRedraw TRUE 。 致 謝 四年的大學(xué)生活轉(zhuǎn)眼就要結(jié)束了在即將畢業(yè)之際,為了考驗我們年來所學(xué)知識的成果,以及加強(qiáng)我們分析解決計算機(jī)應(yīng)用實際問題的能力和培養(yǎng)我們調(diào)查研究、查閱技術(shù)文獻(xiàn)、資料、手冊以及編寫技術(shù)文獻(xiàn)的能力學(xué)校安排我們這次畢業(yè)設(shè)計。通過這次畢業(yè)設(shè)計,我們各方面都得到了很好的鍛煉。本課題在選題及研究過程中得到老師的悉心指導(dǎo)老師多次詢問研究進(jìn)程,并為我指點迷津,幫助我開拓研究思路,精心點撥、熱忱鼓勵。老師一絲不茍的作風(fēng),嚴(yán)謹(jǐn)求實的態(tài)度,踏踏實實的精神,不僅授我以文,而且教我做人,雖歷時,卻 給以終生受益無窮之道感謝老師,這論文的每個實驗細(xì)節(jié)和每個數(shù)據(jù),都離不開你的細(xì)心指導(dǎo)。感謝我的室友們,從遙遠(yuǎn)的家來到這個陌生的城市里,是你們和我共同維系著彼此之間般的感情,維系著寢室那份家的融洽。四年了,仿佛就在昨天。四年里,我們沒有紅過臉,沒有吵過嘴,沒有發(fā)生上大學(xué)前所擔(dān)心的任何不開心的事情。只是今后大家就難得再聚在一起吃每年元旦那頓飯了吧,沒關(guān)系,各奔前程,大家珍重。感謝我的爸爸媽媽,焉得諼草,言樹之背,養(yǎng)育之恩,無以回報,你們永遠(yuǎn)健康快樂是我最大的心愿。在論文即將完成之際,我的心情無法平靜,從開始進(jìn)入課 題到論文的順利完成,有多少可敬的師長、同學(xué)、朋友給了我無言的幫助,在這里請接受我誠摯的謝意!最后,謹(jǐn)以此稚嫩的論文獻(xiàn)給所有關(guān)心和幫助過我的老師、親人、同學(xué)、和朋友們。我唯有在以后不斷地努力進(jìn)取,以學(xué)業(yè)和工作的繼續(xù)求索來感謝培育我的母校和所有關(guān)心我的師長親朋!希望我們都幸福快樂! I 綏化學(xué)院 2021 屆本科生畢業(yè)論文 程序 A 程序 B 網(wǎng)絡(luò)管理軟件 Socket Socket 網(wǎng)卡
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1