Transcription of Network Programming in C - csperkins.org
{{id}} {{{paragraph}}}
Network Programming in CNetworked Systems 3 Laboratory Sessions and Problem SetsLab Timetable, Aims, and Objectives2 Teaching WeekActivity14 Introduction15 Warm-up exercise16 Web client17 Web client18 Web client19 Web server20 Web server21 Web server22 Web server23- Aims and objectives To demonstrate how the world-wide web works, at a protocol level To teach concurrent Network Programming in CRelation Between Labs and Lectures318141516171920212223 WeekLayer1234567 LabLectureNetwork Programming in C: The Berkeley Sockets API4 The Berkeley Sockets API Widely used low-level C networking API First introduced in unix Now available on most platforms: Linux, MacOS X, Windows, FreeBSD, Solaris, etc. Largely compatible cross-platform Recommended reading: Stevens, Fenner, and Rudoff, unix Network Programming volume 1: The Sockets Networking API , 3rd Edition, Addison-Wesley, Sockets provide a standard interface between Network and application Two types of socket: Stream provides a virtual circuit service Datagram delivers individual packets Independent of Network type: Commonly used with TCP/IP and UDP/IP, but not specific to the Internet protocols Only discuss TCP/IP sockets today6 What is a TCP/IP Connection?
The Berkeley Sockets API • Widely used low-level C networking API • First introduced in 4.3BSD Unix • Now available on most platforms: Linux, MacOS X, Windows, FreeBSD, Solaris, etc. • Largely compatible cross-platform •Recommended reading: • Stevens, Fenner, and Rudoff, “Unix Network Programming volume 1: The Sockets Networking API”, 3rd Edition,
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}