HP X.25/9000 Programmer's Guide

6 Chapter1
Introduction to X.25 Programmatic Access
Using BSD IPC
2. The server process, receives the CALL INDICATION packet and
accepts it by sending a CALL ACCEPTED packet.
Prior to receiving connection requests, the server process must:
a. create a socket, binding an (X.121) address or range of addresses
to it,
b. set up a listen queue for receiving connection requests.
The server then passively waits for connection requests until they
arrive.
3. The client process creates a socket and requests a connection to the
remote server process using as a destination one of the addresses to
which the server has bound its socket.
When a request arrives, the server process can either accept or reject the
connection based on the information contained in the request.
Once the server process accepts a client process's request and a
connection is established, full-duplex (two-way) communication can
occur between the two sockets. The two processes are then peers and
can exchange data as equals.
36960-90061.bk Page 6 Friday, November 10, 2000 3:42 PM