1 / 72

Sockets

Sockets. Chapter 10 from the book: Inter-process Communications in Linux: The Nooks & Crannies by John Shapley Gray Publisher: Prentice Hall Pub Date: January 13, 2003. COMMUNICATION BASICS. Topics. COMMUNICATION BASICS. Network Addresses. COMMUNICATION BASICS.

Download Presentation

Sockets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sockets Chapter 10 from the book: Inter-process Communications in Linux: The Nooks & Crannies by John Shapley Gray Publisher: Prentice Hall Pub Date: January 13, 2003

  2. COMMUNICATION BASICS Topics

  3. COMMUNICATION BASICS Network Addresses

  4. COMMUNICATION BASICS Figure 10.1. Displaying the MAC addresses on a Linux host.

  5. COMMUNICATION BASICS Figure 10.1. Displaying the MAC addresses on a Linux host.

  6. COMMUNICATION BASICS Network Addresses

  7. COMMUNICATION BASICS Network Addresses Figure 10.2. Network class numbering scheme.

  8. COMMUNICATION BASICS Domains

  9. COMMUNICATION BASICS Domains

  10. COMMUNICATION BASICS Domains

  11. COMMUNICATION BASICS Protocol Families

  12. COMMUNICATION BASICS Figure 10.3. The ISO/OSI layer cake.

  13. COMMUNICATION BASICS Protocol Families

  14. COMMUNICATION BASICS Protocol Families

  15. COMMUNICATION BASICS Socket Types

  16. COMMUNICATION BASICS Socket Types

  17. COMMUNICATION BASICS Socket Types

  18. IPC Using Socketpair

  19. IPC Using Socketpair Table 10.1. Summary of the socketpair System Call

  20. IPC Using Socketpair

  21. IPC Using Socketpair Table 10.2. Protocol Family Constants.

  22. IPC Using Socketpair Table 10.2. Protocol Family Constants.

  23. IPC Using Socketpair Table 10.2. Protocol Family Constants.

  24. IPC Using Socketpair

  25. IPC Using Socketpair

  26. IPC Using Socketpair

  27. IPC Using Socketpair Table 10.3. socketpair Error Messages..

  28. IPC Using Socketpair

  29. IPC Using Socketpair Figure 10.5. The socketpair before and after the process forks.

  30. The Connection-Oriented Paradigm

  31. The Connection-Oriented Paradigm Figure 10.6. A connection-oriented client–server communication sequence.

  32. The Connection-Oriented Paradigm

  33. The Connection-Oriented Paradigm Table 10.4. Summary of the socket System Call.

  34. The Connection-Oriented Paradigm

  35. The Connection-Oriented Paradigm Table 10.5. Supported Protocol Families.

  36. The Connection-Oriented Paradigm

  37. The Connection-Oriented Paradigm

  38. The Connection-Oriented Paradigm Table 10.6. socket Error Messages.

  39. The Connection-Oriented Paradigm

  40. The Connection-Oriented Paradigm Table 10.7. Summary of the bind System Call

  41. The Connection-Oriented Paradigm

  42. The Connection-Oriented Paradigm

  43. The Connection-Oriented Paradigm Table 10.8. bind Error Messages.

  44. The Connection-Oriented Paradigm Table 10.8. bind Error Messages.

  45. The Connection-Oriented Paradigm

  46. The Connection-Oriented Paradigm Table 10.9. Summary of the listen System Call.

  47. The Connection-Oriented Paradigm

  48. The Connection-Oriented Paradigm Table 10.10. listen Error Messages.

  49. The Connection-Oriented Paradigm

  50. The Connection-Oriented Paradigm Table 10.11. Summary of the accept System Call.

More Related