z/OS Communications Server: IP IMS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


A typical client/server program flow chart

z/OS Communications Server: IP IMS Sockets Guide
SC27-3653-00

Stream-oriented socket programs generally follow a prescribed sequence. See Figure 1 for a diagram of the logic flow for a typical client and server. As you study this diagram, keep in mind the fact that a concurrent server typically starts before the client does, and waits for the client to request connection at step 3. It then continues to wait for additional client requests after the client connection is closed.

Figure 1. A typical client/server session
The diagram shows the series of socket API calls used in a typical session between the client and the server.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014