校際選修

115-1 選課時程

進行中

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

網路程式設計概論

Intro. to Network Programming

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

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

概述

Course webex link: https://nycu.webex.com/meet/nsl.110np 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 I/O multiplexing, threads, non-blocking I/O, client-server design alternatives, etc. Along the semester, three mini-program assignments will be given. A mid-term programming exam and a final programming exam will be held to evaluate whether a student can use the taught network concepts and programming techniques to correctly develop his/her own network programs.

先修科目

C (or C++) programming skills 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.

評分方式

40% Mini-programs homework 10% Class participation (Roll calls will be randomly conducted.) 25% Mid-term exam 25% Final exam

週次計畫
週次主題
第 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 (3 hours, open books and notes, closed networks, closed USB disks)
第 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 (3 hours, open books and notes, closed networks, closed USB disks)
教科書

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

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