Lec3-CaseStudy-Wang-Jan15-04 - Design Case Study Email...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Design Case Study: Email Protocol COP 3330 © Rong Wang School of Computer Science January 2004 Materials Developed Based on Lecture Notes from Dr. David Workman for Section 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Spring 2004 (c) Dr. David A. Workman 2 Reference Specification Document for the SMTP: http://www.freesoft.org/CIE/RFC/821/index.htm Computer Networks and Internets with Internet Applications, 4 th edition. By Douglas E. Comer, Prentice Hall, 2004, ISBN = 0-13-143351-2
Image of page 2
Spring 2004 (c) Dr. David A. Workman 3 Socket programming Socket A descriptor to provide interface for network communication Type: integer When an application creates a socket, the application is given a small integer descriptor used to reference the socket If a system uses the same descriptor space for sockets and other I/O, a single application can be used for network communication as well as for local data transfer Each socket has a socket address Structure of Socket address Address family (e.g., IPv4, IPv6, Unix domain protocols, etc.) Port number Internet address
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Spring 2004 (c) Dr. David A. Workman 4 Socket interface structure Family: defines the protocol group: IPv4, IPv6, UNIX domain protocols, and so on Type: defines the type of socket: stream socket, packet socket, or raw socket Protocol: usually set to zero for TCP and UDP Local socket address: local IP address + local port Remote socket address: remote IP address + remote port
Image of page 4
Spring 2004 (c) Dr. David A. Workman 5 Important Procedures To get the descriptor
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ 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