正在加载图片...
Sequence of activities in a client-server system server starts running 2. The server waits for clients to connect. (listening 3. Clients start running and perform operations Some operations involve requests to the server 4. When a client attempts to connect, the server accepts the connection (if it is willing) 5. The server waits for messages to arrive from connected clients 6. When a message from a client arrives the server takes some action in response, then resumes waiting 7. Clients and servers continue functioning in this manner until they decide to shut down or disconnect www.oseng.com O Lethbridge/Laganiere 2001 Chap 3: Basing Development on Reusable© Lethbridge/Laganière 2001 Chap. 3: Basing Development on Reusable Technology 11 Sequence of activities in a client-server system 1. The server starts running 2. The server waits for clients to connect. (listening) 3. Clients start running and perform operations — Some operations involve requests to the server 4. When a client attempts to connect, the server accepts the connection (if it is willing) 5. The server waits for messages to arrive from connected clients 6. When a message from a client arrives, the server takes some action in response, then resumes waiting 7. Clients and servers continue functioning in this manner until they decide to shut down or disconnect
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有