CSE 124 Lecture Notes - Lecture 4: User Datagram Protocol, Transmission Control Protocol, Network Socket

61 views3 pages

Document Summary

Calcframer framer; while(connection still open) { data = read(); framer. append(data); Sockets api - supported in virtually all operating systems. A point where a local application process attaches to the network. An interface between an application and the network. Sending and receiving messages through the socket. Transport protocols - add services on top of ip. Best-effort - data could get out-of-order, duplicated, etc. You may not need all the data to re-transmit! It takes time to observe a failure, and then re-transmit the data. We need to deliver this data to a particular web server process . You"ll have to signal to the os what port you are registering with your application. Every socket is bound to a port # that allows us to de-mux. The client that tries to connect to the application has to know the port # Some ports are reserved for special applications. Steps: create network socket, connect to the server.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents