Sockets - PowerPoint PPT Presentation

About This Presentation
Title:

Sockets

Description:

In a very limited fashion, these sockets also permit the user to place a higher ... No such file or directory. ENOENT. 2. Explanation. Perror Message. Constant ... – PowerPoint PPT presentation

Number of Views:71
Avg rating:3.0/5.0
Slides: 73
Provided by: scsRy
Category:
Tags: sockets

less

Transcript and Presenter's Notes

Title: Sockets


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
Topics
COMMUNICATION BASICS
3
Network Addresses
COMMUNICATION BASICS
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
Network Addresses
COMMUNICATION BASICS
7
Network Addresses
COMMUNICATION BASICS
Figure 10.2. Network class numbering scheme.
8
Domains
COMMUNICATION BASICS
9
Domains
COMMUNICATION BASICS
10
Domains
COMMUNICATION BASICS
11
Protocol Families
COMMUNICATION BASICS
12
COMMUNICATION BASICS
Figure 10.3. The ISO/OSI layer cake.
13
Protocol Families
COMMUNICATION BASICS
14
Protocol Families
COMMUNICATION BASICS
15
Socket Types
COMMUNICATION BASICS
16
Socket Types
COMMUNICATION BASICS
17
Socket Types
COMMUNICATION BASICS
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 clientserver
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.
51
The Connection-Oriented Paradigm
52
The Connection-Oriented Paradigm
Table 10.12. accept Error Messages.
53
The Connection-Oriented Paradigm
Table 10.12. accept Error Messages.
54
The Connection-Oriented Paradigm
Table 10.12. accept Error Messages.
55
The Connection-Oriented Paradigm
56
The Connection-Oriented Paradigm
Table 10.13. Summary of the connect System Call.
57
The Connection-Oriented Paradigm
58
The Connection-Oriented Paradigm
59
The Connection-Oriented Paradigm
Table 10.14. connect Error Messages.
60
The Connection-Oriented Paradigm
Table 10.14. connect Error Messages.
61
The Connection-Oriented Paradigm
Table 10.14. connect Error Messages.
62
The Connectionless Paradigm
63
The Connectionless Paradigm
Figure 10.14. A connectionless clientserver
communication sequence.
64
The Connectionless Paradigm
65
The Connectionless Paradigm
Table 10.19. Summary of the send, sendto, and
sendmsg System Calls.
66
The Connectionless Paradigm
Table 10.20. Flags for the send, sendto, and
sendmsg Calls.
67
The Connectionless Paradigm
Table 10.21. send, sendto, and sendmsg Error
Messages.
68
The Connectionless Paradigm
Table 10.21. send, sendto, and sendmsg Error
Messages.
69
The Connectionless Paradigm
70
The Connectionless Paradigm
Table 10.22. Summary of the recv, recvfrom, and
recvmsg System Calls.
71
The Connectionless Paradigm
Table 10.23. Flags for the recv, recvfrom, and
recvmsg Calls.
72
The Connectionless Paradigm
Table 10.24. recv, recvfrom, and recvmsg Error
Messages
Write a Comment
User Comments (0)
About PowerShow.com