校際選修

115-1 選課時程

進行中

  • 初選第一階段 6/15/2026
  • 初選第二階段 6/22/2026
  • 校際選修 8/24/2026
  • 初選第三階段 8/31/2026
  • 開學後加退選 9/7/2026
  • 逾期加退選 9/21/2026
選課資源

網路程式設計概論

Intro. to Network Programming

學期
108-1
學分
3 學分
當期課號
1239
永久課號
DCP2368
開課單位
資訊工程學系
授課教師
王協源
校區
光復
類別
必修
上課時間表
週一
週四
3
10:10–11:00
網路程式設計概論
ED117
2 節連堂
4
11:10–12:00
7
15:30–16:20
網路程式設計概論
ED117

* 根據陽明交大上課時間表所列

概述

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 will be presented. The second half of the course covers advanced topics including threads and client-server design alternatives, etc. Along the semester, several mini-program assignments will be given. A mid-term programming exam and a final programming exam (both are 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 but not absolutely required) Operating Systems (preferred but not required)

教學方式

Course TAs will use e3 to announce news and communicate with students.

評分方式

Read the textbook Write four mini-programs (10% each) Take mid-term and final programming exams (30% each, 4 hours, open textbook, closed network)

週次計畫
週次主題
第 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 programming exam (4 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 週Raw Sockets
第 17 週Threads
第 18 週Final programming exam (4 hours, open textbook, closed network)
教科書

W. Richard Stevens, UNIX Network Programming, Vol. 1, Third Edition, Addison-Wesley, 2004.

Office Hours
地點
EC413
時間
Mondays CD
聯絡方式
emails: shieyuan@cs.nctu.edu.tw