Professional Documents
Culture Documents
Figure 4.13 Socket System Calls For Connection-Oriented Protocol
Figure 4.13 Socket System Calls For Connection-Oriented Protocol
endpoint
Register well-known
bind()
address with system
blocks until
connection Open communication
from client socket() endpoint
connection
accept() creates
establishment Set up connection
a new socket to connect()
to server
server the new
client request
data (request)
receive() send() Send/receive data
process
request
data (reply)
send() receive() Send/receive data