Socket Programming
Structure Type: | Study unit |
---|---|
Code: | IITS3105 |
Type: | Optional obligatory / Professional Studies |
Curriculum: | IT 2016 |
Level: | Bachelor of Engineering |
Year of Study: | 3 (2018-2019) |
Credits: | 2 cr |
Responsible Teacher: | Virtanen, Antti |
Language of Instruction: | English |
Courses During the Academic Year 2018-2019
Impl. | Group(s) | Study Time | Teacher(s) | Language | Enrolment |
---|---|---|---|---|---|
1 | I-TT-3N | 2018-10-22 – 2018-12-21 | Chao Gao | English | 2018-08-20 – 2018-09-17 |
2 | I-IT-3N | 2018-10-22 – 2018-12-21 | Chao Gao | English | 2018-08-20 – 2018-09-17 |
Still need to take the course? See the courses during the academic year 2019-2020.
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.