1 / 8

Operating System Project (2)

Operating System Project (2). Instructor: Prof. Chu-Sing Yang Reporter: Keng -Mao Cho Date: 2012/05/14. 環境需求. 作業系統 : Windows & Linux 程式語言 : C 或 C++ 軟體需求 : Virtual Machine. Socket & Multithread Programming. 撰寫 TCP client 程式與 TCP server 程式, TCP client 可以連線到 TCP server 。 基本聊天功能

eryk
Download Presentation

Operating System Project (2)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Operating System Project (2) Instructor: Prof. Chu-Sing Yang Reporter: Keng-Mao Cho Date: 2012/05/14

  2. 環境需求 • 作業系統: Windows & Linux • 程式語言: C 或 C++ • 軟體需求: Virtual Machine itlab.ee.ncku.edu.tw

  3. Socket & Multithread Programming • 撰寫TCP client 程式與 TCP server程式,TCP client 可以連線到TCP server。 • 基本聊天功能 • 多人可以使用 TCP client 連線到 TCP server 同時聊天 基本功能 (80%) itlab.ee.ncku.edu.tw

  4. 加分功能 (20%) • 加分功能 (20%) • 實作可傳輸二進位檔案(上傳/下載) 的 TCP Client 與 TCP Server 程式。 itlab.ee.ncku.edu.tw

  5. 學習參考資料 (1/2) [ Network Socket Programming] • Beej‘s Guide to Network Programming, (Available online) http://beej.us/guide/bgnet/. (初階建議) • W. Richard Stevens, Bill Fenner, and Andrew M. Rudoff, UNIX Network Programming The sockets networking API, Vol. 1, Adisson Wesley, Inc. ,third edition, 2004. • Sample of Linux socket programming, http://www.cs.utah.edu/~swalton/listings/sockets/programs/. [Advanced] • Jon C. Snader, Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs, Addison-Wesley Professional, 2000. itlab.ee.ncku.edu.tw

  6. 學習參考資料 (2/2) • Sample of Linux socket programming, http://www.cs.utah.edu/~swalton/listings/sockets/programs/ • Introduction to Multi-Threaded Programming, http://www.linuxjournal.com/article/3138?page=0,0 • POSIX Threads programming, https://computing.llnl.gov/tutorials/pthreads/ itlab.ee.ncku.edu.tw

  7. 繳交方式 • Project 2 每組需繳交 • 專題報告 (.doc),最多不超過10頁 • 報告投影片 (.ppt) 及影音檔 (.wmv)(程式demo) • 程式碼 (.c & .h)、編譯後之執行檔以及程式操作說明文件。 • 繳交期限: 6/3 • 作業規範請參考課程網頁 • http://itlab.ee.ncku.edu.tw/Lab/courses/OS_100/index.html itlab.ee.ncku.edu.tw

  8. Q&A

More Related