網路程式設計概論
Intro. to Network Programming
| 節 | 週一 | 週四 |
|---|---|---|
3 10:10–11:00 | 網路程式設計概論 EC122 2 節連堂 | |
4 11:10–12:00 | ||
7 15:30–16:20 | 網路程式設計概論 EC122 |
* 根據陽明交大上課時間表所列
This course covers TCP/IP network programming using Berkeley sockets as the application program interface. After an introduction to the concepts of computer networks, TCP/IP protocols, and sockets, TCP/UDP sockets and their example client-server programs are presented. The second half of the course covers advanced topics including threads and client-server design alternatives, etc. Along the semester, two mini-program assignments will be given. A mid-term exam (所有修課學生同時上機考試,4 hours, open textbook, closed network) and a final exam (所有修課學生同時上機考試,4 hours, open textbook, closed network) will be held to evaluate whether a student can use the taught network concepts and programming techniques to develop his/her own network application programs.
C programming (A must. If you cannot use C to write programs well but take this advanced course, it is highly likely that you will fail this course. Consider, consider, and consider!) Computer networks (highly preferred) Operating Systems (highly preferred)
There will be a course forum set up for course TAs to annnounce news and communcate with students.
Read the textbook Write four mini-programs (each student needs to write his/her own programs) Take (所有修課學生同時上機考試,6 hours, open textbook, closed network) mid-term and final exams
| 週次 | 主題 |
|---|---|
| 第 1 週 | Course Overview and Computer Network Concepts |
| 第 2 週 | Computer Network Applications |
| 第 3 週 | Introduction to Network Programming |
| 第 4 週 | Transportation Layer: TCP and UDP |
| 第 5 週 | Socket Introduction |
| 第 6 週 | Elementary TCP Sockets |
| 第 7 週 | TCP Client/Server Example |
| 第 8 週 | I/O Multiplexing: select() |
| 第 9 週 | Mid-term exam (所有修課學生同時上機考試,6 hours, open textbook, closed network) |
| 第 10 週 | Socket Options |
| 第 11 週 | Elementary UDP Sockets |
| 第 12 週 | Name and Address Conversions |
| 第 13 週 | Advanced I/O Functions |
| 第 14 週 | Nonblocking I/O |
| 第 15 週 | ioctl() Operations |
| 第 16 週 | Threads |
| 第 17 週 | Threads |
| 第 18 週 | Final exam (所有修課學生同時上機考試,6 hours, open textbook, closed network) |
W. Richard Stevens, UNIX Network Programming, Vol. 1, Third Edition, Addison-Wesley, 2004.
- 地點
- EC413
- 時間
- Mondays CD
- 聯絡方式
- emails: shieyuan@cs.nctu.edu.tw