X25/9000: X.25/9000 Programmer's Guide
Chapter 3 Establishing and Terminating a Socket Connection
»
Technical documentation
Complete book in PDF
»
Table of Contents
»
Index
Table of Contents
Overview
Connection Establishment for the Server Process
Creating a Socket
Binding an X.121 Address to a Socket
Preparing a Listen Socket
Accepting a Connection
Strategies for Server Design
Connection Establishment for the Client Process
Creating a Socket
Requesting a Connection
Controlling Call Acceptance
The ioctl (X25_CALL_ACPT_APPROVAL)
Syntax for ioctl (X25_CALL_ACPT_APPROVAL)
The ioctl (X25_SEND_CALL_ACEPT) Call
Syntax for ioctl(X25_SEND_CALL_ACEPT)
Terminating a Connection
Closing a Socket Descriptor
Shutting Down a Socket