●●● Ey Xample o The rcPdayt imed. c example o The call to accept blocks the server thread until a connection arrives o when a connection request arrives o TCP protocol engages 3-way handshake to establish a connection o After completing the handshake, the system allocates a new socket and the call to accept returns o The server continues to execute 1313 CSIE, NTUT, Taiwan Example The TCPdaytimed.c example The call to accept blocks the server thread until a connection arrives ⚫ When a connection request arrives ⚫ TCP protocol engages 3-way handshake to establish a connection ⚫ After completing the handshake, the system allocates a new socket and the call to accept returns ⚫ The server continues to execute