Socket Programming
Structure Type: | Study unit |
---|---|
Code: | IITS3105 |
Curriculum: | IT 2021 |
Level: | Bachelor of Engineering |
Year of Study: | 3 (2023-2024) |
Semester: | Spring |
Credits: | 2 cr |
Responsible Teacher: | Gao, Chao |
Language of Instruction: | English |
Courses During the Academic Year 2023-2024
Impl. | Group(s) | Study Time | Teacher(s) | Language | Enrolment |
---|---|---|---|---|---|
3011 | IT2021-3, IT2021-3A, IT2021-3B, IT2021-3C, IT2021-3D, TT2021-3, TT2021-3A, TT2021-3B, TT2021-3C, TT2021-3D | 2024-03-04 – 2024-04-30 | Chao Gao | English | 2023-12-01 – 2024-01-12 |
Learning Outcomes
After the course, the student should understand the basic idea of client-server communication, and she should be able to write basic server/client applications. The student should know the differences of connection-less and connection-oriented communication (i.e., UDP and TCP) for designing performance-oriented Internet communication applications. She should know the different types of sockets and she should know which type should be applied for their specific application. The student should know the relationship between sockets and application layer protocols. At a higher level, the student should know how to design synchronous and asynchronous server applications and be able to use certain IPC techniques.
Student's Workload
54 h, which contains 28 h of scheduled contact studies.
The assessment of student’s own learning 1 h is included in contact lessons.
Prerequisites / Recommended Optional Courses
Local Area Networks, Wide Area Networks, C Programming, Java Server Programming.
Contents
Client-server communication, connectionless and connection-oriented communication, TCP/UDP/RAW sockets, connecting and binding, performance analysis. The programming language is either C, Java or Python.
Recommended or Required Reading and Other Learning Resources/Tools
TCP/IP Sockets in Java, Second Edition: Practical Guide for Programmers (The Practical Guides) 2nd Edition by Kenneth L. Calvert, Michael J. Donahoo.
Mode of Delivery / Planned Learning Activities and Teaching Methods
Lectures and a project.
Assessment Criteria
Grade 5: The student is able to develop performance-oriented TCP/IP application combining different languages and platforms. He can handle synchronous (concurrent) server development by using different IPC methods. He is proficient in network data formatting. He is able to evaluate the performance of the applications using different network tools/utilities.
Grade 3: The student is able to develop different types of TCP/IP application such as TCP server / client, UDP server client, and RAW socket applications. He understands the data structure in protocol data unit (PDU).
Grade 1: The student understands basics of TCP/IP socket and can development simple socket applications.
Assessment Methods
An examination, a project, homework exercises.