rec01-sockets.ppt

rec01-sockets.ppt - UNIX Sockets COS 461 Precept 1 Socket...

  • No School
  • AA 1
  • 12

This preview shows page 1 - 5 out of 12 pages.

UNIX Sockets COS 461 Precept 1
Image of page 1

Subscribe to view the full document.

Socket and Process Communication The interface that the OS provides to its networking subsystem application layer transport layer (TCP/UDP) network layer (IP) link layer (e.g. ethernet) application layer transport layer (TCP/UDP) network layer (IP) link layer (e.g. ethernet) OS network stack User Process User Process Socket OS network stack Socket Internet Internet Internet 2
Image of page 2
Delivering the Data: Division of Labor Network Deliver data packet to the destination host Based on the destination IP address Operating system Deliver data to the destination socket Based on the destination port number (e.g., 80) Application Read data from and write data to the socket Interpret the data (e.g., render a Web page) 3
Image of page 3

Subscribe to view the full document.

Socket: End Point of Communication Sending message from one process to another Message must traverse the underlying network Process sends and receives through a "socket" In essence, the doorway leading in/out of the house
Image of page 4
Image of page 5
  • Fall '19
  • Web server, Internet Protocol Suite, TCP and UDP port, Internet socket

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern